Re: Replace-function

From: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
To: Victor Spång Arthursson <victor(at)tosti(dot)dk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Replace-function
Date: 2004-06-24 09:10:14
Message-ID: 40DA9A76.4080207@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How about the REPLACE function?

See http://www.postgresql.org/docs/7.4/interactive/functions-string.html

John Sidney-Woollett

Victor Spång Arthursson wrote:

> I have looked in the manual, but can't find a function to use in SQL
> which replaces chars/strings with given ones…
>
> For example; replace all a with b in the field testfield…
>
> Anyone?
>
> Sncerely
>
> Victor
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marco Colombo 2004-06-24 11:06:51 Re: simultaneous use of JDBC and libpq
Previous Message Victor Spång Arthursson 2004-06-24 08:54:48 Replace-function