From: | Andreas Kretschmer <akretschmer(at)spamfence(dot)net> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Update Query Problem |
Date: | 2005-12-13 18:11:08 |
Message-ID: | 20051213181108.GA3604@kaufbach.delug.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
operationsengineer1(at)yahoo(dot)com <operationsengineer1(at)yahoo(dot)com> schrieb:
> man, you guys are ON IT! thanks. the following
> worked like a charm:
>
> UPDATE t_job_number
> SET contract_id = 30
> WHERE job_number_id = (select job_number_id from
> t_serial_number where serial_number_id = 78);
Please read also the mail from 'Jaime Casanova', if the subselect
returns multiple rows.
Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
From | Date | Subject | |
---|---|---|---|
Next Message | operationsengineer1 | 2005-12-13 20:42:02 | Re: Bind Variables and Quoting / Dequoting Input |
Previous Message | operationsengineer1 | 2005-12-13 18:09:51 | Re: Update Query Problem |