SQL Clone
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)


By Gabor Nyul,

Are you managing big databases with a lot of tables like SAP as I'm?
Do you use sp_spaceused, as I'm?
Do you want to know your n biggest tables as I'm?

Then don't search any longer.

I'm using this script every day for may maintenance jobs.
I generates, like sp_spaceused, out of sysindexes the n biggest tables without any cursor, therefore with an acceptable speed

Enjoy it.

Total article views: 291 | Views in the last 30 days: 1