replace function

Поиск
Список
Период
Сортировка
От rute solipa
Тема replace function
Дата
Msg-id 3EAD4293.30902@eselx.ipl.pt
обсуждение исходный текст
Ответы Re: replace function  (Rajesh Kumar Mallah <rmallah@trade-india.com>)
Re: replace function  ("Victor Yegorov" <viy@nordlb.lv>)
Список pgsql-sql
hi everyone,

i've got an oracle query that goes like this:
select  replace (v.ds_conf, 'ns', 'p/fazer') as conf.
from tb_visitas

the result of this query is everytime is find string 'ns' it will be 
replaced by 'p/fazer'.

does any one can tell me how do i do this in postgresql.

kind regards,

rute



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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: plpgsql Question..
Следующее
От: rute solipa
Дата:
Сообщение: Re: replace function