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)

Calculate Table Size and row count

By Frank HY,

This script calculates table row count and size(MB), as well as the used space and free space.

1 OPEN SSME

2 SELECT YOUR DB WHICH YOU WANT TO RUN

3 COPY AND PASTE THE SCRIPT THEN RUN

Total article views: 1875 | Views in the last 30 days: 9
 
Tags
row count    
table size    
 
Contribute