The forum will be unavailable for maintenance at some point from Friday, April 13 at 19:00 EDT until Sunday, April 15 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.

Any way to compare two strings using case sensitivity even though the database is case insensitive?


asked 20 Nov '09, 23:15

Calvin%20Allen's gravatar image

Calvin Allen
accept rate: 25%

This helps you?

SELECT COMPARE( 'abc','ABC','UCA(case=LowerFirst)' ),
       COMPARE( 'abc','ABC','UCA(case=Ignore)' ),
       COMPARE( 'abc','ABC','UCA(case=UpperFirst)' );

I got it in Documentation...

permanent link

answered 20 Nov '09, 23:32

Zote's gravatar image

accept rate: 43%

That did the trick, thanks a lot!

(21 Nov '09, 01:20) Calvin Allen
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 20 Nov '09, 23:15

question was seen: 3,033 times

last updated: 20 Nov '09, 23:32