Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Support for ordering on AS
Message
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01391988
Message ID:
01392251
Views:
49
AFAIK, ORDER BY < ordinal number > was removed in ANSI SQL99 standard and M$ is considering to deprecate it in the future version of SQL Server.

>
>I didn't see anyone suggest this yet.
>
>
>...
>   order by 3 -- title
>
>
>For the ORDER BY clause you can use the column number. You can not use the column number in the GROUP BY clause.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform