SQL Server error code
SQL Server error 4983
SQL Server raises error 4983 at severity 16, which marks a problem with the query or data that you can correct.
ALTER TABLE SWITCH statement failed. Target table '%.*ls' has an XML or spatial index '%.*ls' on it. Only source table can have XML or spatial indexes in the ALTER TABLE SWITCH statement.
| Msg | 4983 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |