MS SQL

@@ROWCOUNT in SQL Server

@@ROWCOUNT function uses to return the rows affected by the last statement. 

Syntax

@@ROWCOUNT  

Example: 1

Example 2

Leave a Reply

Prabhakaran Jayaraman