« Home | Reverse IP Lookup » | Electronic Paper - Update » | Some links » | Listamatic: CSS lists » | Electronic paper » | Virgin Atlantic Travel Podcast » | LogParser » | Space Needle » | Viewing the Locks in MS-SQL » | We're off to Germany » 

Tuesday, January 24, 2006 

Quick way to find space used by each table in a database

Found this very handy:

sp_msforeachtable 'sp_spaceused "?"'

Produces a kind of ugly output (returns a table for each table). The original article includes a query to get all the results into one table: Quick way to find space used by each table in a database

Labels: