Viewing post 1 (of 1 total)
SELECT top 1 rows FROM SYSINDEXES WHERE Id = OBJECT_ID('TableName')
its return the row count of the table which is same as select count(*) from table.
September 10, 2009 at 8:09 am
#1051727