ALTER TABLE SWITCH statement failed. Table '%1!s!' is not aligned with the index '%2!s!' on indexed view '%3!s!'. The table is partitioned on column '%4!s!', but the index on the indexed view is partitioned on column '%5!s!', which is selected from a different column '%6!s!' in table '%7!s!'. Change the indexed view definition so that the partitioning column is the same as the table's partitioning column.
ALTER TABLE SWITCH statement failed. Source and target partitions have different values for the DATA_COMPRESSION option. ...
ALTER TABLE SWITCH statement failed. SWITCH is not allowed because source table '%1!s!' contains primary key for constraint ...
ALTER TABLE SWITCH statement failed. Table '%1!s!' has a column level check constraint '%2!s!' on column '%3!s!' that is ...
ALTER TABLE SWITCH statement failed. Table '%1!s!' has RULE constraint '%2!s!'. SWITCH is not allowed on tables with RULE ...
ALTER TABLE SWITCH statement failed. Table '%1!s!' is not aligned with the index '%2!s!' on indexed view '%3!s!'. The table ...
ALTER TABLE SWITCH statement failed. Target table '%1!s!' and source table '%2!s!' have different vardecimal storage format ...
ALTER TABLE SWITCH statement failed. Target table '%1!s!' has a check constraint '%2!s!' on a CLR type column, but the source ...
ALTER TABLE SWITCH statement failed. Target table '%1!s!' has a check constraint '%2!s!' on an XML column, but the source ...
ALTER TABLE SWITCH statement failed. Target table '%1!s!' has a column level check constraint '%2!s!' but the source table ...