07 December,2009 by Tom Collins
This is a useful script I use to list the space used for all databases on a given sql server The purpose of passing the argument : @updateusage , is it updates the usage information
EXEC sp_msforeachdb @command1="use ? exec sp_spaceused @updateusage = N'TRUE';"
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |