标签:
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‘)
标签:
原文地址:http://www.cnblogs.com/jacran/p/4329113.html