A comparison will be case sensitivie, if any sub-part of the expression
is case sensitive. There are several ways to solve this:

1) CREATE or ALTER your tables so that the relevant CHAR and
VARCHAR fields are of type BINARY; change TEXTs to BLOBs

2) Use a case-sensitive, but neutral function when SELECTing,
to force MySQL to perform a case-sensitive comparison

/ Carsten
--
Carsten H. Pedersen
keeper and maintainer of the bitbybit.dk MySQL FAQ
http://www.bitbybit.dk/mysqlfaq

> -----Original Message-----
> From: Jiří Mikuláš [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 4:01 PM
> To: [EMAIL PROTECTED]
> Subject: case sensitive selects
>
>
> Hi all.
> I have problem with MySQL 3.23.32 on FreeBSD4.2
> SELECTs are not case sensitive, any suggestion how to set it ?
> I'v looked into DOCs, but i'm not so clever from it :(( ...
> my config options was only
>
> ./configure --prefix=/usr/local/mysql
>
> Many thaks.
>
>
> Jiri Mikulas
> [EMAIL PROTECTED]
> http://www.anglictina.com
> ICQ: 108 36 60 66
> Admin - anglictina.com
>
>
> ---------------------------------------------------------------------
> 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 <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to