SQL Server error code
SQL Server error 125
SQL Server raises error 125 at severity 15, which marks a problem with the query or data that you can correct.
Case expressions may only be nested to level %d.
| Msg | 125 |
|---|---|
| Severity | 15 |
| Group | 0–999 |
What it means
SQL Server allows for only 10 levels of nesting in CASE expressions.