Sql Server - How to calculate the size of some rows in a table?
- by Tom S.
How can i calculate the size of only some rows in a table?
For example, with the code:
EXEC sp_spaceused 'Users'
you obtain the size of all rows, however i want to calculate the size of part of them, something like this:
EXEC sp_spaceused 'Users WHERE Gender='f''
How can i achieve this?
Thanks in advance