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: Oracle transactions and DDL statements.

Re: Oracle transactions and DDL statements.

From: <joel-garry_at_home.com>
Date: 8 May 2006 16:54:38 -0700
Message-ID: <1147132478.197980.320910@i39g2000cwa.googlegroups.com>


Peter wrote:

>been run on Oracle before - apparantly without discovering that Oracle
>commits no-matter-what after a DDL statement.

And before, too!

You might not notice the problem if no other users happen to be looking at the half-committed data, or unless you try to rollback.

The autonomous transaction Brian mentioned is one way around this... but still has pros and cons:
http://asktom.oracle.com/~tkyte/autonomous/index.html

jg

--
@home.com is bogus.
Since she's sorority she still seriously studies stats$sysstat so some
silly short-sighted scientist sometimes softly sighs "shared sort
segments."
Received on Mon May 08 2006 - 18:54:38 CDT

Original text of this message

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