摘要: SELECT 'ALTER INDEX [' + ix.name + '] ON [' + s.name + '].[' + t.name + '] ' + CASE WHEN ps.avg_fragmentation_in_percent>15 THEN 'REBUILD' ELSE 'REORG 阅读全文
posted @ 2020-06-30 16:18 大山楂丸子 阅读(334) 评论(0) 推荐(0) 编辑