Re: Update con select

From: Miguel Angel Hernandez Moreno <miguel(dot)hdz(dot)mrn(at)gmail(dot)com>
To: "Hector R(dot) De los Santos" <zahory(at)gmail(dot)com>
Cc: Lista PostgreSql <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Update con select
Date: 2010-04-17 00:09:44
Message-ID: y2we720c2d1004161709pb949a941w688ad8b6af9df2cc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Gracias

update envio set direcion = 'nueva_direccion' where id *in *(select id from
envio where <condicion>
order by id limit 5);

es lo que buscaba, poruqe me di cuenta que el ERROR estaba en el *=* y tenia
que ser un *in*

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Cesar A 2010-04-17 01:13:47 Re: error Instalando plr
Previous Message Hector R. De los Santos 2010-04-16 23:35:58 Re: Update con select