Created
October 1, 2017 03:10
-
-
Save thorsman99/b4450f51b20bf0887c2929bcad7c27c2 to your computer and use it in GitHub Desktop.
Rebuilds all sql indexes for a table #SQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER INDEX ALL ON Production.Product | |
REBUILD WITH (FILLFACTOR = 80, SORT_IN_TEMPDB = ON, | |
STATISTICS_NORECOMPUTE = ON); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment