One of my DBs have grown closer to permitted size.
Inorder to find out the table containing the max data, i used the following query:
exec sp_MSforeachtable @command1="print '?' exec sp_spaceused '?'"
It returned the culprit table comprising the max data.
As a next step, i want to cleanup the rows based on the size. For this, i would like to order the rows based on size.
How to achieve this using a query? Are there any tools to do this?