Row Size
Last updated:
Warning: Review and test in a non-production environment before running.
create table ##tmpRowSize (TableName varchar(100),RowSizeDefinition int)
exec sp_msforeachtable 'INSERT INTO ##tmpRowSize Select ''?'' As TableName, SUM(C.Length) as Length from dbo.SysColumns C where C.id = object_id(''?'') '
select * from ##tmpRowSize order by 1,RowSizeDefinition desc
drop table ##tmpRowSize