Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Expand a variable in line?
Message
De
28/12/2000 14:11:12
 
 
À
27/12/2000 15:30:29
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00457150
Message ID:
00457496
Vues:
21
Basically, you can only use variables in the WHERE clause. To do anything else requires Dynamic SQL. If you really need flexibility, you could submit the query ad-hoc.

Also take a look at sp_executesql

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform