Salut,
Je voudrait dans ma table qu'il me modify une partie de ma chaine de caractere, comment faire?
( j'ai +sieurs lignes avec pour extension F4/5 et je veux les changer en F5.
ex:: 112F4/5 en 112F5
RV21F4/5 en RV21F5
Merci de votre aide)



select *, translate(code_sachet, 'F4/5','F55') from semis where code_sachet like '22RV221%';
Le probleme est qu'il me crée une autre colonne avec pour nom translate et ne me remplace ds la column en question.
SoS
http://www.postgresql.org/docs/7.3/static/functions-string.html
"replace(string text, from text, to text)
Replace all occurrences in string of substring from with substring to"