Why can't FILLFACTOR
be set on a clustered index with PERSISTED NOT NULL
computed columns?
Query to set FILLFACTOR
:
ALTER INDEX [PK_MyIndex] ON [MyTable] REBUILD PARTITION=ALL WITH (FILLFACTOR = 90)
Error:
ALTER INDEX failed because the following SET options have incorrect settings: 'ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
Is it possible to get this to work?
Please read the following article: https://msdn.microsoft.com/en-AU/library/ms187403.aspx
Try the following statement: