Jun 20, 2012 #1 szeiss Programmer Apr 5, 2000 137 US What would be the CF equivalent to the SQL 'IN' operator in coldfusion? Code: <cfif #variables.location# IN "LO","AU","SL"> <cfelse> </cfelse> Thanks, SZ
What would be the CF equivalent to the SQL 'IN' operator in coldfusion? Code: <cfif #variables.location# IN "LO","AU","SL"> <cfelse> </cfelse> Thanks, SZ
Jun 21, 2012 #2 r937 Technical User Jun 30, 2002 8,847 CA you forgot da parentheses r937.com | rudy.ca Buy my new book Simply SQL from Amazon Upvote 0 Downvote
Jun 27, 2012 #3 cfSearching Programmer Dec 14, 2007 367 US The closest equivalent would be listFind/listFindNoCase: <!--- note, no pound signs ie # needed ---> <cfif listFindNoCase("LO,AU,SL", variables.location)> ---------------------------------- http://cfsearching.blogspot.com/ Upvote 0 Downvote
The closest equivalent would be listFind/listFindNoCase: <!--- note, no pound signs ie # needed ---> <cfif listFindNoCase("LO,AU,SL", variables.location)> ---------------------------------- http://cfsearching.blogspot.com/