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. ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend