SQL Server error code
SQL Server error 4151
SQL Server raises error 4151 at severity 16, which marks a problem with the query or data that you can correct.
The type of the first argument to NULLIF cannot be the NULL constant because the type of the first argument has to be known.
| Msg | 4151 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |