Sql技巧之快速得到表的记录总数(转) select id,object_name(id) as tableName,indid,rows,rowcnt from sys.sysindexes where indid in(0,1)