Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

select Table_Name=object_name(id),

"Rows"=convert(int,sum(rowcnt(doampg))),
"ReservedKB"=sum(reserved_pgs(id,doampg))*2+ sum(reserved_pgs(id,ioampg))*2,
"Data"=sum(data_pgs(id,doampg))*2 ,
"Index"=sum(data_pgs(id,ioampg))*2
from sysindexes
where id in (select id from sysobjects where type='U')
group by object_name(id);

You might also like