Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 System stored procedure that returns rowcount for table
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ask SQLTeam Question

0 Posts

Posted - 04/20/2004 :  09:53:15  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
John writes "Hi,

I used to work with a guy when I was contracting at MSN and he turned me on to a system stored procedure that would return the number of rows for a table along with other information but I cannot find it now. Funny I remember his name but not the name of the sproc.

Was this all just a vivid halucination or does such a stored procedure exist or did it ever? I remember that it was much more efficient than doing some thing like this "Select count(*) from table_name".

Please help me restore sanity to my world.

Thank you,

Chief SQLTeam Crack Dealer

4149 Posts

Posted - 04/20/2004 :  09:53:15  Show Profile  Visit graz's Homepage  Reply with Quote
We've got a script on the site called bigtables.sql. With a little (very little) modification that should do what you want.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000