SQL Server error code
SQL Server error 4940
SQL Server raises error 4940 at severity 16, which marks a problem with the query or data that you can correct.
ALTER TABLE SWITCH statement failed. %S_MSG '%.*ls' is in filegroup '%.*ls' and %S_MSG '%.*ls' is in filegroup '%.*ls'.
| Msg | 4940 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |