Benefits Of Using SQL Ordinal Position Notation?

前端 未结 6 2097
夕颜
夕颜 2020-11-30 05:46

Background Information

Ordinal position notation, AKA ordinals, is column shorthand based on the column order in the list of columns in the SELECT cla

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-30 06:11

    I'd use it:

    • If you love troubleshooting
    • Creating adhoc queries without intellisense

    There is no upside.

    SQL Server only supports in the ORDER BY anyway. Anywhere else it's an expression to be evaluated.

提交回复
热议问题