2013年6月24日

快速获取表的记录数

摘要: 可以这样写:use [mydb]goselect rows from sysindexes where id = object_id('表名') and indid in (0,1);indid smallint 索引 ID:0 = 堆1 = 聚集索引 > 1 = 非聚集索引这样就不必写出 sele... 阅读全文

posted @ 2013-06-24 22:42 左直拳 阅读(128) 评论(0) 推荐(0) 编辑

导航