
March 3rd, 2005, 03:16 PM
|
|
Contributing User
|
|
Join Date: Oct 2004
Posts: 181
Time spent in forums: 2 Days 4 h 25 m 11 sec
Reputation Power: 5
|
|
|
Case sensitive issue
I'm not 100% sure if I should be asking this Forum or the ColdFusion forum. But since my code in question is an SQL statement accessing an Oracle Database, I figured here was the best place. If not, let me know.
I'm running a search using ColdFusion. One of the items a user can search for is a person's name or part of the person's name. However, if I search for "George" I will only get results that have a capital "G" and lower-case "eorge" That is, any results not matching the case exactly are ommitted.
My code is:
WHERE staff_name LIKE '%George%'
Is there something that I can do to tell it to pull up all results regardless of case?
|