Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use IN operator with parameter
Message
From
04/02/2003 13:36:00
Gary Otte
California Youth Authority
Sacramento, California, United States
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
How to use IN operator with parameter
Miscellaneous
Thread ID:
00748978
Message ID:
00748978
Views:
99
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
Next
Reply
Map
View

Click here to load this message in the networking platform