Created
March 28, 2011 11:22
-
-
Save johnathan-sewell/890310 to your computer and use it in GitHub Desktop.
Find out how much space each table in a SQL Server database is using
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXEC sp_MSforeachtable @command1="EXEC sp_spaceused '?'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment