技术成就梦想

生活丰富多彩

 

查看表的datapages

 

 

select object_name(i.object_id) as tableName,
data_pages as dataPages
from sys.indexes as i
join sys.partitions as p on p.object_id=i.object_id and
p.index_id=i.index_id
join sys.allocation_units as a on a.container_id=p.partition_id

--表名
where i.object_id=object_id('T_AN_FORG')

posted on 2015-03-11 10:18  Jacran  阅读(186)  评论(0编辑  收藏  举报

导航