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?

SQLAnywhere 10.0.1.3835

asked 20 Nov '09, 23:15

Calvin%20Allen's gravatar image

Calvin Allen
1.5k232638
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

Zote
1.7k364050
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×20
×7

question asked: 20 Nov '09, 23:15

question was seen: 3,606 times

last updated: 20 Nov '09, 23:32