Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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.7k364051
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:

×22
×7

question asked: 20 Nov '09, 23:15

question was seen: 5,740 times

last updated: 20 Nov '09, 23:32