Postgresql a select

David Zabensky dzabensky na centrum.cz
Úterý Říjen 21 16:05:29 CEST 2003


jiri.holec na ct.cz napsal(a):
> Ahoj,
> 
> prosim o pomoc jak udelat select ktery nebude brat ohled na diakritiku. 
> Tj. select ..... where neco = pondeli;
> i   select ..... where neco = pondělí;
> 
> vrati to same? 
> 
> Diky Jirka

Strilim od boku - udelat funkci (proceduru), jenz prevede text s 
diakritikou na text bez diakritiky (ascii),
tuto funkci pouzit jak pro index nad timto polem, tak i pro 
vlastni select. Je dost mozne, ze postgres uz
nejakou takovou ma (convert() + lower()).

david



Další informace o konferenci Test