Use one or the other of the following. Second query is from here: http://stackoverflow.com/questions/7892334/get-size-of-all-tables-in-databaseSELECT object_name(object_id),SUM (row_count) , SUM(in_row_data_page_count) AS page_countFROM sys.dm_db_partition_stats where (index_id=0 or index_id=1)group by object_name(object_id) order by 2 DESCSELECT t.NAME AS TableName, p.rows AS RowCounts, SUM(a.total_pages) * 8 AS TotalSpaceKB, SUM(a.used_pages) * 8 AS UsedSpaceKB, (SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKBFROM sys.tables tINNER JOIN sys.indexes i ON t.OBJECT_ID = i.object_idINNER JOIN sys.partitions p ON i.object_id = p.OBJECT_ID AND i.index_id = p.index_idINNER JOIN sys.allocation_units a ON p.partition_id = a.container_idWHERE t.NAME NOT LIKE 'dt%' AND t.is_ms_shipped = 0 AND i.OBJECT_ID > 255 GROUP BY t.Name, p.RowsORDER BY t.Name