You are here: Re: are string matches in MySql normally case insenstive? « PHP Programming Language « IT news, forums, messages
Re: are string matches in MySql normally case insenstive?

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
==================

 

Navigation:

[Reply to this 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

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