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.
| Msg | 4964 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |