Jul 7, 2004 #1 jimnewguy Technical User Jul 3, 2004 5 US Is it possible to do a select statement with a where clause that has a LIKE with multiple values. Example Select * from A where a.something LIKE ANY ('%ABC%','%BCD%')
Is it possible to do a select statement with a where clause that has a LIKE with multiple values. Example Select * from A where a.something LIKE ANY ('%ABC%','%BCD%')
Jul 7, 2004 1 #2 nagornyi MIS Nov 19, 2003 882 US where (a.something LIKE '%ABC%' or a.something LIKE '%BCD%') Upvote 0 Downvote
Jul 7, 2004 Thread starter #3 jimnewguy Technical User Jul 3, 2004 5 US Thank you I have 600 different like combinations that need to go into it. Would this still be the best way to handle it? Upvote 0 Downvote
Thank you I have 600 different like combinations that need to go into it. Would this still be the best way to handle it?
Jul 7, 2004 #4 nagornyi MIS Nov 19, 2003 882 US I think yes, but would be interested to read here other suggestions, if any.. Upvote 0 Downvote
Jul 11, 2004 #5 HimanB IS-IT--Management Nov 25, 2002 231 IN Hi, Once way to acive this can to be to pass a complete record group to your query using a Data_parameter form the calling form. If these 600 values are coming from some table then it is advised to pass the subquery to your report. HTH Regards Himanshu Upvote 0 Downvote
Hi, Once way to acive this can to be to pass a complete record group to your query using a Data_parameter form the calling form. If these 600 values are coming from some table then it is advised to pass the subquery to your report. HTH Regards Himanshu