I am trying to find out how much space certain rows are taking up in multiple tables. I will then add them together and show users how much space they are using in the SQL database.
Using the sp_spaceused
stored procedure gets me details about the table as a whole but I need to find the space used on a filtered number of records.
Is there any way to add a WHERE conditon to the sp_spaceused
procedure so I can get details about a set of rows in the table, or is there another solution?