SQL Server error code
SQL Server error 1062
SQL Server raises error 1062 at severity 16, which marks a problem with the query or data that you can correct.
The TOP N WITH TIES clause is not allowed without a corresponding ORDER BY clause.
| Msg | 1062 |
|---|---|
| Severity | 16 |
| Group | 1000–1999 |