建议在业务空闲的时间,进行索引重建工作;
declare @sql varchar(max)set @sql=''select @sql=@sql+'dbcc dbreindex('+name+');' from sys.tables where name not like 'tm%'print @sqlexec(@sql)
上一篇:MyBatis系列:(5)动态SQL
下一篇:PL/SQL Developer使用技巧、快捷键