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

Home -> Community -> Usenet -> c.d.o.server -> Re: q: sync pl/sql and dynamic ddl statement ?

Re: q: sync pl/sql and dynamic ddl statement ?

From: MarkyG <markg_at_mymail.tm>
Date: 21 Jun 2001 07:40:23 -0700
Message-ID: <ab87195e.0106210640.7026d126@posting.google.com>

DDL always does an implicit commit so there is no way of getting around it (unless someone proves otherwise!).

M

"Ted Chyn" <ericis6_at_home.com> wrote in message news:<DphY6.331625$oc7.33826949_at_news2.rdc2.tx.home.com>...
> sir: in pl/sql block contain execute immediate ddl statement such as
> 'create table test_1';
> when block is executing dynamic ddl sql statement is commited whether the
> whole pl/sql
> is sucessful or not. Is there a way to make dynamic sql in sync with pl/sql
> block code -i.e. if pl/sql fail no table will be created.
>
> thnx ted chyn
Received on Thu Jun 21 2001 - 09:40:23 CDT

Original text of this message

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