In this blog post, let’s learn about the error message “22856 – Warning: The @allow_partition_switch parameter is set to 0. ALTER TABLE … SWITCH PARTITION statement will be disallowed on this partitioned table. Refer to books online for more information about partition switching behavior when using Change Data Capture.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
22856 – Warning: The @allow_partition_switch parameter is set to 0. ALTER TABLE … SWITCH PARTITION statement will be disallowed on this partitioned table. Refer to books online for more information about partition switching behavior when using Change Data Capture.
Reason for the Error
To be update soon…
Solution
To be update soon…