Re: [GENERAL] Enc: Help to replace caracter

2008-11-14 Thread Marco Antonio
On Fri, Nov 14, 2008 at 12:17 PM, paulo matadr <[EMAIL PROTECTED]> wrote: > > I Need to replace string (" ) in the situation below : > > select clie_nmclientefrom cadastro.cliente where clie_nmcliente like > '%"%'; > > result: > JOANA D"ARCALMEIDA" > EMLURB "P M R." > CECILIA D"CAGNO" > HELENA

Re: [GENERAL] Enc: Help to replace caracter

2008-11-14 Thread Raymond O'Donnell
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;

[GENERAL] Enc: Help to replace caracter

2008-11-14 Thread paulo matadr
I Need to replace string (" ) in the situation below : select clie_nmclientefrom cadastro.cliente where clie_nmcliente like '%"%'; result: JOANA D"ARCALMEIDA" EMLURB "P M R." CECILIA D"CAGNO" HELENA FERREIRA D"FREITAS" JOSE M. "BARRACA DO BOLA" FORTE" DUNAS BAR" JOANA D"ARC R. DE SO