How are you executing this query (passing vars and all)?
I'd suggest using IN instead of OR. You'll have to provide a list of values like 'value1','value2','value3'.
Depending on the way you pass parameters and execute your query you could pass this as 1 string:
and suburb in (@subs_list)
1 thing I don't really get is how you are going to handle a suburb with 2 words as it's name (With a quick zoom over NY I got West Caldwll, Essex Fells, New Providence, New Milford, Fair Lawn. How are you going to include them if you are splitting words? You'll end up with (suburb = 'Fair' or suburb = 'Lawn')
adam_k
Practically a Posting Shark
804 posts since Jun 2011
Reputation Points: 256
Solved Threads: 149