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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making a query not case sensitive

Status
Not open for further replies.

kehers

Programmer
Aug 31, 2005
56
A2
how can i make a mysql query term not case sensitive..as in making the search for movies in the statement below not case sensitive
Code:
select *, match(url, title, comment) against ('movies') as score from dir where match(url, title, 
comment) against ('movies') and subdir='$in'
 
Use a _ci (case insensitive) collation. See:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top