Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sqlserverdba
Yak Posting Veteran
53 Posts |
Posted - 2009-03-08 : 22:39:58
|
Hi,I want to find how much space free in all tables of particular database.Thanks,-Dinesh |
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2009-03-08 : 22:48:12
|
[code]Use DbnameExec sp_Msforeachtable @command1 = 'Exec sp_spaceused'[/code] |
|
|
sqlserverdba
Yak Posting Veteran
53 Posts |
Posted - 2009-03-08 : 23:03:19
|
Correct ,but I want to see which table is closer to max extents.Therefore I want to save output of following command.How to do that?Use DbnameExec sp_Msforeachtable @command1 = 'Exec sp_spaceused' Thanks,-Dinesh |
|
|
|
|
|