2008/11/27 Javier Chávez B. <[EMAIL PROTECTED]>:
>> Tengo entendido que con la sentencia INSERT se puede hacer algo como:
>>
> y algo como esto tb sirve :
> http://www.postgresql.org/docs/current/static/sql-update.html
>
> Si ves al final esta mas o menos lo que quieres:
> --------------------------------------------------
> UPDATE accounts SET (contact_last_name, contact_first_name) =
>    (SELECT last_name, first_name FROM salesmen
>     WHERE salesmen.id = accounts.sales_id);
> --------------------------------------------------
>
> Es algo asi o no???
 Me retracto

This is not currently implemented — the source must be a list of
independent expressions.

Ups !! Sorry....

No termine de leer...

:S

> Slds..
> J.
>
> --
> Cumprimentos
> jchavez
> linux User #397972 on http://counter.li.org/
>



-- 
Cumprimentos
jchavez
linux User #397972 on http://counter.li.org/
--
TIP 4: No hagas 'kill -9' a postmaster

Responder a