WalterHeisenberg
Technical User
- Mar 28, 2008
- 159
Hello,
I'm using SQL server 2005 and would like to know how to view the table size for all tables in a given database.
I know I can use sp_spaceused <table> for a single table but I would like to view them all at once.
Is there another SP i should be using? I know I can use reporting services for this but I want to be able to write a simple query for it.
Help would be greatly appreciated. Thanks!
I'm using SQL server 2005 and would like to know how to view the table size for all tables in a given database.
I know I can use sp_spaceused <table> for a single table but I would like to view them all at once.
Is there another SP i should be using? I know I can use reporting services for this but I want to be able to write a simple query for it.
Help would be greatly appreciated. Thanks!