Wouldn't the space be a literal? Since it's inside an SQL block, I would think that your database would think it was searching for the literal string "%20" instead of a space.
<!----------------//------ andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Protoculture [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 7:29 AM To: CF-Talk Subject: searching for a '%' in an sql like statement... I need to search for the urlendcode for a space ( %20 ) in an sql server LIKE statement. example...notice the middle space between the two keywords below... opportunities.title LIKE '#listgetat(session.search_keywords, 1, "%20")#' + '%20' + '#listgetat(session.search_keywords, 2, "%20")#' According to the results we are getting it seems that it might be taking the '%20' to mean something other than a space. Any ideas? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224173 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

