select object_name(id) as tablename,rows from sysindexes
where id in (select id from sysobjects where xtype='U') and indid in (0,1)

Last modification:April 9th, 2014 at 08:27 am
如果觉得我的文章对你有用,请随意赞赏