SQL Server error code
SQL Server error 251
SQL Server raises error 251 at severity 16, which marks a problem with the query or data that you can correct.
Could not allocate ancillary table for query optimization. Maximum number of tables in a query (%d) exceeded.
| Msg | 251 |
|---|---|
| Severity | 16 |
| Group | 0–999 |