Technical Article

Get row counts and space used for every table

,

Use the sp_MSforeachtable stored procedure to run the sp_spaceused stored procedure for every table in a database

exec sp_MSforeachtable "exec sp_spaceused '?'"

Read 437 times
(17 in last 30 days)

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating