Mega Code Archive
Categories
/
MSSQL Tutorial
/
System Functions
Sp_spaceused reviews the space used by a table in a database
You can also displace the disk space reserved and used by an entire database. The syntax is sp_spaceused [tablename[,@updateusage={TRUE¦FALSE}]]