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

Home -> Community -> Mailing Lists -> Oracle-L -> Can I do this in Oracle 8i?

Can I do this in Oracle 8i?

From: Gurelei <gurelei_at_yahoo.com>
Date: Fri, 27 Sep 2002 11:48:32 -0800
Message-ID: <F001.004DB841.20020927114832@fatcity.com>


Hi.

I want to update a table based on data in another table. Something like:

update table1 a set f1 =
(select f2

from table2
where table2.f3 = table1.f3
and table2.f4 = table1.f4);

this seems to work, but generates a lot of redo logs. So I tried to add NOLOGGING. Alas, seems like NOLOGGING
and alias don't tolerate each other. I haven't been able to run an Update with both alias and NOLOGGING. Is that something that Oracle restricts or did I not try hard enough?

Any suggestions?

TIA Gene



Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gurelei
  INET: gurelei_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Fri Sep 27 2002 - 14:48:32 CDT

Original text of this message

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