SQL Server 查询每一个表中各有多少条记录

select id,object_name(id) as tableName,indid,rows,rowcnt table from sys.sysindexes  a where indid in(0,1)  object order by rows descselect
相关文章
相关标签/搜索