raresql.com
SQL SERVER – How to run sp_spaceused for all tables in a database
sp_spaceused is one of the frequently used stored procedures when it comes to view the number of rows, reserved size, data size, index size, unused space in a table. I myself utilized it many a tim…