Reply to Re: are string matches in MySql normally case insenstive?

Your name:

Reply:


Posted by Jerry Stuckle on 06/20/05 15:44

lkrubner@geocities.com wrote:
> If I make this query with MySql:
>
> SELECT * WHERE keyword='urbanism'
>
> is the comparison case insensitive? Will MySql return all rows where
> keyword equals both 'urbanism' and 'Urbanism'?
>
> I searched this using Google Groups, and was suprised that there were
> no entries on this. This seems almost FAQ material.
>

Text columns are case insensitive. If you want case sensitivity, you
need to make the column BINARY. It's in the manual - if you know what
you're looking for.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация