Sql技巧之快速得到表的记录总数(转)

select id,object_name(id) as tableName,indid,rows,rowcnt  from sys.sysindexes where indid in(0,1)

原文地址:https://www.cnblogs.com/zwei1121/p/1911130.html