Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use IN operator with parameter
Message
De
04/02/2003 13:36:00
Gary Otte
California Youth Authority
Sacramento, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
How to use IN operator with parameter
Divers
Thread ID:
00748978
Message ID:
00748978
Vues:
100
Trying to create a stored procedure to accomplish something like:
SELECT * FROM TABLE WHERE CITY IN (@CITIES)
where @CITIES is a parameter containing a list of cities: eg, 'Sacramento', 'Placerville', 'San Francisco'

Any suggestions?

TIA,
Gary
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform