SQL Server error code
SQL Server error 5308
SQL Server raises error 5308 at severity 16, which marks a problem with the query or data that you can correct.
Windowed functions, aggregates and NEXT VALUE FOR functions do not support integer indices as ORDER BY clause expressions.
| Msg | 5308 |
|---|---|
| Severity | 16 |
| Group | 5000–5999 |