首页 > 其他 > 详细

碎片整理语句

时间:2017-07-26 22:53:18      阅读:227      评论:0      收藏:0      [点我收藏+]
create index StatisticsTagArea_AreaId on StatisticsTagArea(AreaId) include(TagId)
drop index StatisticsTagArea_AreaId on StatisticsTagArea
create index StatisticsTagArea_AreaId on StatisticsTagArea(AreaId) include(TagId,DisCount,DisHasPicCount)
dbcc showcontig(StatisticsTagArea,StatisticsTagArea_AreaId)  WITH FAST, TABLERESULTS,  NO_INFOMSGS
dbcc dbreindex(StatisticsTagArea,StatisticsTagArea_AreaId,90)
ALTER Index PK_STATISTICSTAGAREA on StatisticsTagArea rebuild 
dbcc INDEXDEFRAG (0,objectid,indexid)

碎片整理语句

原文:http://www.cnblogs.com/baozhu/p/7241974.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!