sp_spaceused for Database Table
The following output is generated when running sp_spaceused on a table.
name rows reserved data index_size unused
---------- ------ ----------- -------- ------------ -------
Customer 230 48 KB 8 KB 40 KB 0 KB
- name is the table you are gathering information about.
- rows is the number of rows in the table.
- reserved is the total amount of space assigned to the table and its indexes.
- data is the amount of space used to store data.
- index_size is the amount of space used to store indexes.
- unused is the space assigned, but does not have any data stored on it.