Basically I have a form on a page with a multiple select element where the user can choose any number of countries to search on.
so when I get to the results page I have a variable
countryID = "1,3,65"
From there I need to construct annother variable looking Like:
temp = "Partners.countryID=1 OR Partners.countryID=3 OR Partners.countryID=65"
so I can then insert it into an SQL statement. At the moment I am constructing the string on an ASP page and passing it to the stored procedure which is not ideal, and I now need to be able to do it all in the stored procedure!!
Any help or ideas would be most appreciated
Thanks
Tim