Viewing 3 posts - 1 through 3 (of 3 total)
SELECT object_name(id), rows
FROM sysindexes
WHERE INDID IN(0,1)
AND object_name(id) NOT LIKE 'sys%'
Gives all the tables and the rows in each table.
September 17, 2009 at 12:56 pm
#1055211
The below query gives the Table name(user table) and the rows in each:
This is faster because we are getting the data from sysindexes.
WHERE INDID IN (0,1)
AND...
September 17, 2009 at 12:52 pm
#1055208
Here are some differences:
...
April 8, 2009 at 9:49 pm
#974819