cancel
Showing results for 
Search instead for 
Did you mean: 

Case Sensitivity in Sybase DB

08-16-2019 7:14 AM
Baron Participant
2476 views 7 comments
0 Likes
SAP Managed Tags
Subscribe

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?

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

johnsmirnios
Product and Topic Expert
Product and Topic Expert

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 Likes

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

The question how can I change those properties in DB?

VolkerBarth
Contributor
0 Likes

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.