# of records | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

# of records

I need to check # of records ertrieved by a query to decide fail/success and based on that run next step. How to write such query? Sam
select @@rowcount Satya SKJ
Moderator
http://www.SQL-Server-Performance.Com/forum
This posting is provided “AS IS” with no rights for the sake of knowledge sharing.
]]>