Sqlserver Performance Issue Rebuild or Reindex Entire Sql DataBase on March 15, 2012 Get link Facebook X Pinterest Email Other Apps sp_MSforeachtable @command1="print 'Rebuilding indexes for ?' ALTER INDEX ALL ON ? REBUILD WITH (FILLFACTOR = 90)" EXEC sp_MSforeachtable @command1="print 'Reorganizing indexes for ?' ALTER INDEX ALL ON ? REORGANIZE" Comments
Comments
Post a Comment