Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using "IN" ?

Status
Not open for further replies.

baden

Programmer
Feb 6, 2002
125
US
From a list of checkboxes, I'm going to collect some user preferences, where each box is assigned a number, and the total comma-delimited numbers placed in a UserPref field.

Later I'll want to verify the user's pref's, but some numbers exceed 100, thus there will be 9,10,11,12,13...109,110,111,112...

When I use the SQL IN statement to verify which pref's the user has, will it get messed up b/c there are multiple instances of "11", "12", etc, and if so, how do I get around this?
 
The IN statement will not get messed up. If you'll be using a stored procedure to pass that comma delimited string, then you'd better read this faq's faq183-5207



-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top