"gord barq" <[EMAIL PROTECTED]> wrote: > I have the following index: > > CREATE UNIQUE INDEX SongTopic_idx ON SongTopic(songTitle, artist, album); > > Where songtitle, artist and album are varchar() columns. > > It appears that this index is not case sensitive. Is that correct? If so, > how can I have it so that it is indeed case sensitive because I'm importing > lots of data from Oracle which is case sensitive. >
VARCHAR column is compared in case-insensitive fashion. You can define column as BINARY if you use 3.23 or 4.0 MySQL server. If you use 4.1 MySQL server you can define case sensitive collation. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]