Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Correlated updates.

Re: Correlated updates.

From: Mark Hunter <mark_at_se7en.demon.co.uk>
Date: 1997/12/07
Message-ID: <348acda6.26150882@news.demon.co.uk>#1/1

I must have been having a bad day.

No sooner had I posted this,
I typed the answer into sql*plus...

update tableA
set ref = (select newref from tableB

                where oldref = tableA.ref );

Thank's in advance for repies.

Back to putting up the Christmas decorations :-) Mark Hunter
http://www.se7en.demon.co.uk Received on Sun Dec 07 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US