Segue a dica
Select o.name as Tabela, SUM(dpages*8)/1024. as TAMANHO_MB from sysindexes i
inner join sysobjects o on o.id = i.id where o.xtype = 'u'
GROUP BY o.NAME,i.rowcnt,i.dpages order by [TAMANHO_MB] DESC
inner join sysobjects o on o.id = i.id where o.xtype = 'u'
GROUP BY o.NAME,i.rowcnt,i.dpages order by [TAMANHO_MB] DESC
Gostou? Comenta e compartilhe
0 Comentários