Re: [Pgsql-ayuda] Error en la funcion

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Edwin Quijada <listas_quijada(at)hotmail(dot)com>
Cc: Pgsql <pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx>
Subject: Re: [Pgsql-ayuda] Error en la funcion
Date: 2003-09-02 15:36:48
Message-ID: 20030902153648.GB21909@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Tue, Sep 02, 2003 at 09:28:34PM -0400, Edwin Quijada wrote:

> :Error: parser: parse error at or near "rep" at character 116

Tienes que escapar las comillas:

> BEGIN
> if ($2='rep') then
if ($2=''rep'') then

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La fuerza no está en los medios físicos
sino que reside en una voluntad indomable" (Gandhi)

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Rodrigo Alvarez 2003-09-02 15:52:59 [Pgsql-ayuda] ayuda :)
Previous Message Alvaro Herrera 2003-09-02 15:32:39 Re: [Pgsql-ayuda] Duda sobre template1