Re: how to replace

From: "A(dot) Kretschmer" <akretschmer(at)despammed(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: how to replace
Date: 2005-09-09 05:08:08
Message-ID: 20050909050808.GC9240@webserv.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

am 08.09.2005, um 23:25:05 +0200 mailte "Michael Höller" folgendes:
> Hello,
>
> I initially thought this is simple.. I want to relpace a character to
> nothing. Eg. relace "B" to "" -> ABCD to ACD.

In the new version 8.1 there are a regex_replace() - function. A other
solution: write your own function with plperl.

Regards, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47212, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Eugene E. 2005-09-09 06:09:02 Re: a "catch all" type ... such a thing?
Previous Message Tom Lane 2005-09-09 01:09:46 Re: Numeric Columns