The forum will be down for maintenance at some point from Friday, November 16 at 19:00 EDT until Sunday, November 18 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,606 times

last updated: 20 Nov '09, 23:32