cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Case-Sensitive String Comparison (In a Case-Insensitive Database)

Former Member
6,987

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

SQLAnywhere 10.0.1.3835

View Entire Topic
Former Member

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

Former Member
0 Likes

That did the trick, thanks a lot!