title: sp_spaceused - How to measure the size in GB in all the tables in SQL
body: <p>Following the discussion in <a href="https://stackoverflow.com/questions/7071473/">How to measure table size in GB in a table in SQL</a>, I'm looking for a solution to measure the space used by all the tables of a SQL Server individually using the store procedure <code>sp_spaceused</code>.</p>