cancel
Showing results for 
Search instead for 
Did you mean: 

Case Sensitivity in Sybase DB

Baron
Participant
0 Kudos
1,337

We are using Sql-Anywhere 10 DB with no case sensitivity select db_property('CaseSensitive') -> OFF

select db_property('charset') -> UTF-8

The database is case sensitive for English letters, but for German special letters (Ö, Ä, Ü) is not case senstivie.

Is there any explanation for that?

Accepted Solutions (0)

Answers (1)

Answers (1)

johnsmirnios
Advisor
Advisor

What collation are you using? If you are not using UCA, case-sensitivity only works for single-byte characters which, for UTF-8, is only ASCII.

-john.

Baron
Participant
0 Kudos

Do you mean? select db_property('collation')? Then it is UTF8BIN.

The question how can I change those properties in DB?

VolkerBarth
Contributor
0 Kudos

To change the collation, you have to rebuild the database. However, you can do different comparisons (i.e. using different collations and properties) via the COMPARE function, cf. that FAQ.