Viewing post 1 (of 1 total)
For every database run
Exec ('Use [' + @dbname + '] Exec sp_SpaceUsed @updateusage = ' + '''True''')
in your script before selecting size. 'True' updates the table size to the correct...
February 25, 2004 at 11:05 am
#495627