Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WHERE has to be before ORDER
Message
 
À
07/03/2008 00:37:45
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01299623
Message ID:
01299643
Vues:
12
>I just found out that in SQL Server, the WHERE clause has to be before the ORDER clause. Can someone confirms me that? If yes, is there a setting that affect that? It is not a big problem for me to adjust the code to support that however.

And not only, GROUP BY also need to be after WHERE.
Maybe because SQL Server needs first to get the records set and after that manipulate it.
I am not aware of settings that can be used to change this behavior.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform