SQL Server error code
SQL Server error 4987
SQL Server raises error 4987 at severity 16, which marks a problem with the query or data that you can correct.
ALTER TABLE SWITCH statement failed because column '%.*ls' does not have the same XML Schema Collection in tables '%.*ls' and '%.*ls'.
| Msg | 4987 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |