Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ORDER table
Message
From
15/07/2003 07:45:41
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
00810084
Message ID:
00810142
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>...what is better: ... order by company, OrderNumber or ... order by 1,2 ?

Hi Nadya,

I don't know if the SQL Server world has a preference, but I've used both methods. Using numbered columns eliminates a lot of typing, but if you add a column somewhere in the middle of your field list you have to re-check your ORDER BY numbers.
Previous
Reply
Map
View

Click here to load this message in the networking platform