From: rute solipa <rutes@eselx.ipl.pt>
To: Rajesh Kumar Mallah <rmallah@trade-india.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: replace function
Date: Mon, 28 Apr 2003 16:12:10 +0100
Message-ID: <3EAD44CA.2090303@eselx.ipl.pt> (raw)
In-Reply-To: <Pine.LNX.4.33.0304282036300.645-100000@localhost.localdomain>
References: <Pine.LNX.4.33.0304282036300.645-100000@localhost.localdomain>
Rajesh Kumar Mallah wrote:
>On Mon, 28 Apr 2003, rute solipa wrote:
>
>
>
>>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'.
>>
>>
>
>
>
>It works exactly the same way here :)
>in postgresql 7.3.x it is inbuilt , in older
>version it can be installed from the postgresql
>cookbook website ,
>
>
>Regds
>mallah.
>
>
>
>
>>does any one can tell me how do i do this in postgresql.
>>
>>kind regards,
>>
>>rute
>>
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 4: Don't 'kill -9' the postmaster
>>
>>
>>
>
>
>
>
but i have the 7.2.2 version
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: rutes@eselx.ipl.pt, rmallah@trade-india.com
Subject: Re: replace function
In-Reply-To: <3EAD44CA.2090303@eselx.ipl.pt>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox