Alter Table Switch. ALTER TABLE SWITCH statement failed. There are several subforms.
There are four ways to use the ALTER TABLE SWITCH statement. If you are switching a partition from one partitioned table to another both tables must be partitioned on the same column. ALTER TABLE SWITCH statement failed.
Active is the publisher and Archive is the subscriber.
You ALTER the source table or partition and SWITCH to the target table or partition. Prepare the filegroup to accept new. Check constraints or partition function of source table PATSdbostaging_tblItemsArchive allows values that are not allowed by check constraints or partition function on target table PATSdbo. You ALTER the source table or partition and SWITCH to the target table or partition.