Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help with an Update statement
"harry" <a_at_abc.com> schrieb im Newsbeitrag
news:4nmh0uo8122845eq5hmabicufoa7u5kdeu_at_4ax.com...
> I need an update query to populate the cert_no column in Test2 based on
matching ID's. Ive tried all
> sorts of things & generally end up with "single row select statement
returns mutiple rows" error
Not acutally tested, but rather sure that it will work:
update test2 set cert_no=(select cert_no from test1 where test1.id=test2.id);
Michael G. Schneider Received on Sat Dec 01 2001 - 07:52:40 CST