SQL Server error code
SQL Server error 4942
SQL Server raises error 4942 at severity 16, which marks a problem with the query or data that you can correct.
ALTER TABLE SWITCH statement failed because column '%.*ls' at ordinal %d in table '%.*ls' has a different name than the column '%.*ls' at the same ordinal in table '%.*ls'.
| Msg | 4942 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |