To find out how many records are affected after the execution of any SQL statement
you can simply use the built in SQL Server property @@ROWCOUNT

select * from your_table
print @@ROWCOUNT

|The Output should look like this:
(8 row(s) affected)
8


Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (4 + 5) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 19.07.2009
Views: 1049
Item date: 01.02.2009
Views: 2128
Item date: 09.03.2009
Views: 553
Item date: 01.05.2009
Views: 705
Item date: 13.05.2009
Views: 1436
Item date: 30.10.2009
Views: 386
Item date: 07.03.2009
Views: 1901
Item date: 26.09.2009
Views: 1358
Item date: 05.02.2009
Views: 919