Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Display Row Count for all Tables

By Cade Bryant,

This short and simple script is a very fast way to count the rows in all your indexed tables.  I ran it against a 2-gigabyte database containing large tables (some with over a million rows!), and it returned results in under a second.

Total article views: 2802 | Views in the last 30 days: 21
 
 
Contribute