Your update is updating all rows in table1. Is that
what you want ?
nologging only works with direct path insert, not with
update.
- Gurelei <gurelei_at_yahoo.com> a écrit : > 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).
Stéphane Paquette
DBA Oracle, consultant entrepôt de données
Oracle DBA, datawarehouse consultant
stephane_paquette_at_yahoo.com
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail :
http://fr.mail.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: =?iso-8859-1?q?paquette=20stephane?=
INET: stephane_paquette_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 - 15:53:30 CDT