Skip to content

Commit

Permalink
Fixed 'STATISTICS_NORECOMPUTE' is not a recognized ALTER INDEX REBUIL…
Browse files Browse the repository at this point in the history
…D PARTITION option
  • Loading branch information
sergiisyrovatchenko committed Jun 27, 2021
1 parent cbcbca0 commit 477fcb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Index.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public string GetQuery() {
(IsPartitioned || Settings.Options.FillFactor == 0
? ""
: $"FILLFACTOR = {Settings.Options.FillFactor}, ") +
(IndexType == IndexType.HEAP
(IndexType == IndexType.HEAP || IsPartitioned
? ""
: $"STATISTICS_NORECOMPUTE = {nr}, ") +
(!IsAllowCompression
Expand Down

0 comments on commit 477fcb1

Please sign in to comment.