Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rowcount

Status
Not open for further replies.

sendba

Programmer
Sep 7, 2005
113
US
Hi All,

In sql server 2000 I used to query Sysindexes to get the count of a table. I dont see rowcnt in SQL Server 2005 for sysindexes table.
Any comments. Also is there any way to get the count of all the objects.

Thanks in advance
Sen
 
In 2005 don't use sysindexes. use sys.dm_db_index_physical_stats

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top