SQL Server Error Code – 22842 alter table switch statement failed beca
In this blog post, you’ll learn more about the SQL Server Error Code 22842 and the error message description that is shown
SQL Server Error Code
22842
SQL Server Error Description for the Code :22842
ALTER TABLE SWITCH statement failed because the partitioned destination table is enabled for Change Data Capture and does not have @allow_partition_switch set to 1.
Leave Your Comment