Re: Like with special character

Поиск
Список
Период
Сортировка
От Guillaume LELARGE
Тема Re: Like with special character
Дата
Msg-id 4455CBFD.3090200@gmail.com
обсуждение исходный текст
Ответ на Like with special character  (tnodev <tnodev@free.fr>)
Список pgsql-sql
Hi,

tnodev a écrit :
> I'm using postGre with tables which contain French character (éèçàù...).
> Is there a fonction which performs a like in replacing é (e cute) by e ?
> 

select translate('forêt', 'àâäéèêëîïôöùûü', 'aaaeeeeiioouuu');

Change the first word (forêt) by the string you want characters to be
replaced.

For more, see : http://docs.postgresqlfr.org/pgsql-8.1.3-fr/functions-string.html   (french docs)
http://www.postgresql.org/docs/8.1/interactive/functions-string.html  (english docs)
 

BTW, it is PostgreSQL, not postGre.

Regards,


-- 
Guillaume.


В списке pgsql-sql по дате отправления:

Предыдущее
От: tnodev
Дата:
Сообщение: Like with special character
Следующее
От: "mlartz@gmail.com"
Дата:
Сообщение: Re: join on a like