Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Defining case insensitive WHERE...

Status
Not open for further replies.

Shrum

Programmer
May 17, 2002
122
US
I thought I saw this somewhere but can't find it again therefore I'm not sure this is possible...so far everything else is ;-)

How do you define a case-insensitive search? DBI/SQL:Statement uses a term called CLIKE (uses is similar to SQL LIKE but refers to a case-insensitive search)

TIA
 
mysql is case insensitive by default!!!
ie if u give a query like this:
select column from table where column like '%A%'

it will also return records which have a small 'a'...

correct me if i am wrong...


Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top