摘要:
需要对表大数据量操作的时候,如delete,需要对索引可以选择性的操作!可以使用下面语句生成:declare @tname varchar(100)declare @size intset @size=0 --这里设置索引大小限制,如果不设置默认为0即所有索引 set @tname='tblorders'select 'alter index '+' '+c.indexname+' '+'on'+' '+@tname+' '+'rebuild with (data_compr 阅读全文
浙公网安备 33010602011771号