sql快速查记录数

数据不多时一般使用 select count(0) from T_Imei with (nolock)

 上百万的用:select top 1 rowcnt from sysindexes where id=object_id('T_Imei')

posted @ 2011-12-09 11:20  顿金  阅读(142)  评论(0编辑  收藏  举报