The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

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:

×18
×7

question asked: 20 Nov '09, 23:15

question was seen: 2,544 times

last updated: 20 Nov '09, 23:32