Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Specifing a column in the where clause
Message
 
 
À
19/02/2004 19:05:13
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00879002
Message ID:
00879019
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>Thanks Sergey,
>Can you explain why you can't reference "sales_total" in the where clause even though it is a vaild column name?

The "sales_total" is column alias assigned with AS clause. It's SQL Server query parser limitation that column alias cannot be used in WHERE and some other clauses.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform