SQL: Don't use numeric constants in T-SQL ORDER BY clauses
In the T-SQL language you can specify a positive integer constant in an ORDER BY clause as I’ve shown in the main image above.
Please don’t do this !
For those that haven’t used this, the number refers to the position of the column in the SELECT list. If you do this, you are creating really fragile code and also code that’s really hard to read, particularly as the statements get more complex.
2019-06-27