Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ORDER table
Message
De
15/07/2003 07:45:41
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
00810084
Message ID:
00810142
Vues:
22
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform