That is because UCase() is a CF function and not an Oracle function.
On Tue, 25 Jan 2005 17:17:11 -0400, daniel kessler <[EMAIL PROTECTED]> wrote: > > Try, LIKE <cfqueryparam value="%#UCase(Form.Agency)#%" > > cfsqltype="cf_sql_varchar"> > > ah that makes sense, thanks. I have a followup question. > I changed UPPER to UCase in the next line and received an error, > "UCase:invalid identifier", but it works fine with Agency in the line above > and with UPPER(city). I was just trying to be consistent. > > query line: > <cfif Form.agency neq ""> > AND UCase(agency) LIKE <cfqueryparam value="%#UCase(Form.Agency)#%" > cfsqltype="cf_sql_varchar"> > </cfif> > <cfif Form.city neq ""> > AND UCase(city) LIKE <cfqueryparam value="%#UCase(Form.city)#%" > cfsqltype="cf_sql_varchar"> > </cfif> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191740 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

