Re: Ayuda con trigger para delete.

From: "Linder Poclaba" <linder(dot)poclaba(at)gmail(dot)com>
To: "Jaime Casanova" <systemguards(at)gmail(dot)com>
Cc: "Pablo Braulio" <brulics(at)gmail(dot)com>, Cuenca <yeidel(dot)cuenca(at)facinf(dot)uho(dot)edu(dot)cu>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Ayuda con trigger para delete.
Date: 2006-06-10 22:20:03
Message-ID: 5aa69e1b0606101520y162f5464ib27d2df2166b2a23@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Uyyyyyyyy que error no me fije error de taipeo jejeje lo siento se me fue :)

On 6/10/06, Jaime Casanova <systemguards(at)gmail(dot)com> wrote:
>
> > >
> > > insert last_value into valor from catalogo_id_seq;
> >
> On 6/10/06, Linder Poclaba <linder(dot)poclaba(at)gmail(dot)com> wrote:
> > y tambien se me entro la duda porque es sintacticamente incorrecto? para
> no
> > seguir cometiendo errores si lo es.
> >
>
> porque la sentencia INSERT no tiene clausula FROM ni puede hacer INTO
> una variable.
>
> lo que tu quisiste escribir fue
> SELECT last_value INTO variable FROM secuencia;
>
> --
> Atentamente,
> Jaime Casanova
>
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs and the universe trying
> to produce bigger and better idiots.
> So far, the universe is winning."
> Richard Cook
>

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jaime Casanova 2006-06-11 08:10:45 Re: RE: [pgsql-es-ayuda] Parámetros por defecto
Previous Message Linder Poclaba 2006-06-10 22:12:11 Re: RE: [pgsql-es-ayuda] Parámetros por defecto