Subject | Re: [ib-support] UPPER() function and ä, ü, ö... |
---|---|
Author | Lucas Franzen |
Post date | 2001-11-06T14:36:15Z |
Fabrice,
for ISO8859_1
create table customer (
...
last_name VARCHAR(40) COLLATE DE_DE,
);
for WIN1252:
create table customer (
...
last_name VARCHAR(40) COLLATE PXW_INTL850,
);
HTH
Luc.
> I use triggers to maintain some columns uppercase:You need the right collation order for this field assigned.
> new.last_name = upper( new.last_name );
> The problem is, some characters are not uppercased, particularly the
> ä, ü, ö. For example:
>
> müller => MüLLER (sould be: MÜLLER)
for ISO8859_1
create table customer (
...
last_name VARCHAR(40) COLLATE DE_DE,
);
for WIN1252:
create table customer (
...
last_name VARCHAR(40) COLLATE PXW_INTL850,
);
HTH
Luc.