Seaquel
SQL Server error code

SQL Server error 4964

SQL Server raises error 4964 at severity 16, which marks a problem with the query or data that you can correct.

ALTER TABLE SWITCH statement failed. Table '%.*ls' has RULE constraint '%.*ls'. SWITCH is not allowed on tables with RULE constraints.
Msg4964
Severity16
Group4000–4999

Source: Database Engine events and errors