摘要: 一、第一种测试declare @d datetimeset @d=getdate()select COUNT(0) from Disease--select * from Diseaseselect [语句执行花费时间(毫秒)]=datediff(ms,@d,getdate())http://space.itpub.net/9671084/viewspace-255613聚集索引是如此的重要和珍贵,所以笔者总结了一下,一定要将聚集索引建立在:1、您最频繁使用的、用以缩小查询范围的字段上;2、您最频繁使用的、需要排序的字段上。二、第二种测试set statistics profile onset 阅读全文
posted @ 2011-04-27 09:59 leeolevis 阅读(301) 评论(0) 推荐(0)