快速查询总行数的方法

select rowcnt from sysindexes where id=object_id('表名')
select rowcnt from sysindexes where id=object_id('表名') and indid=1

posted on 2011-09-06 18:06  认真的我  阅读(345)  评论(0编辑  收藏  举报