Re: [INSERT]Return a value

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Leví Teodoro da Silva <tlevisilva(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [INSERT]Return a value
Date: 2008-11-07 13:50:56
Message-ID: 29005.1226065856@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"=?ISO-8859-1?Q?Lev=ED_Teodoro_da_Silva?=" <tlevisilva(at)gmail(dot)com> writes:
> INSERT INTO "Login"(
> "CPF", "password", status, "idSeller")
> VALUES ('108', '12345', 'ok', '2555') RETURNING "CPF" INTO STRICT teste;

It looks like you are trying to do this at the SQL level, in which case
you should leave off the INTO bit.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Leví Teodoro da Silva 2008-11-07 14:04:13 Re: [INSERT]Return a value
Previous Message Leví Teodoro da Silva 2008-11-07 13:49:45 Re: [INSERT]Return a value