Server-Level Table sizes
This script creates a stored procedure that returns the following table size metrics in kilobytes, megabytes, and gigabytes for all tables in user-created databases (database ID > 4): Reserved space Used space Unused space Index size Data size
2026-09-14