Re: Enc: Help to replace caracter - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: Enc: Help to replace caracter
Date
Msg-id 491DA9B9.7060703@iol.ie
Whole thread Raw
In response to Enc: Help to replace caracter  (paulo matadr <saddoness@yahoo.com.br>)
List pgsql-general
On 14/11/2008 16:17, paulo matadr wrote:


> Any help me to create pgPL/sql or funcion  to replace ( " )  to null
> value, I have many table with this.

Do you mean you want to replace just those characters with NULL? Won't
this cause the entire string to be NULL?

postgres=# select 'abc' || NULL;
 ?column?
----------

(1 row)


Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

pgsql-general by date:

Previous
From: "Serge Fonville"
Date:
Subject: Re: [JDBC] Re : [pgadmin-support] trouble in installing postgreSQL 8.3
Next
From: "Marco Antonio"
Date:
Subject: Re: Enc: Help to replace caracter