SQL Server error code
SQL Server error 4195
SQL Server raises error 4195 at severity 16, which marks a problem with the query or data that you can correct.
The reference to column "%.*ls" is not allowed in an argument to the NTILE function. Only references to columns at an outer scope or standalone expressions and subqueries are allowed here.
| Msg | 4195 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |