|
Re: Case Insensitivity of queries and record lookup: msg#01119db.mysql.general
On 28 Jun 2002, at 14:27, Mark Hennessy wrote: > I have noticed after migrating my database from mSQL to MySQL that > queries are providing lookup results in a case-insensitive manner. To avoid that, make your CHAR and VARCHAR columns BINARY, or if you only want to make *some* comparisons case-sensitive, use BINARY in your query: http://www.mysql.com/doc/C/H/CHAR.html http://www.mysql.com/doc/C/a/Case_Sensitivity_Operators.html -- Keith C. Ivey <keith@xxxxxxxxxxx> Tobacco Documents Online http://tobaccodocuments.org --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <mysql-thread113368@xxxxxxxxxxxxxxx> To unsubscribe, e-mail <mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | InnoDB - count() slow: 01119, Oleg |
|---|---|
| Next by Date: | LOST mysql.sock: 01119, Rahadul Kabir |
| Previous by Thread: | Re: Case Insensitivity of queries and record lookupi: 01119, Paul DuBois |
| Next by Thread: | Increasing number of open_files -- no takers on this one?: 01119, Sam Taylor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |