Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT My weekly tip: how to execute several appends without commit
Hi Jared, in a previous post I talk about,
the problem was you can't do two consecutive appends before a commit.
This is a bug or limitation in the append process.
The name of the post, in this list, was
"ORA-12838 please : Is possible to append two times to the same table before
doing a commit"
And this was the question:
Hi I have a serious problem
I can't do two append insret to a table in a same transaction, and I can
join in only one.
because some times the same process( a function) must be runs more than once
and can't be a commit between them, all is only one transaction.
I ask you if you please know about a trick to bypass this.
SQL> INSERT /*+ append */ into ctb.xxdeftra select * from ctb.deftransace_me
whe
re rownum <5;
4 filas creadas.
SQL> INSERT /*+ append */ into ctb.xxdeftra select * from ctb.deftransace_me
whe
re rownum <5;
INSERT /*+ append */ into ctb.xxdeftra select * from ctb.deftransace_me
where ro
wnum <5
*
before doing a commit
Thanks :)
Juan Carlos Reyes Pacheco
OCP
Database 9.2 Standard Edition
----- Original Message -----
From: <Jared.Still_at_radisys.com>
To: <oracle-l_at_freelists.org>
Sent: Monday, April 12, 2004 2:39 PM
Subject: Re: OT My weekly tip: how to execute several appends without commit
Tom Kyte gave a good idea to do several inserts in a table, based on
distinct state in tables
without doing a commit.
For example
/*+append */ insert into a select * from b
(several process modify b) then
/*+append */ insert into a select * from b
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Mon Apr 12 2004 - 13:56:43 CDT
![]() |
![]() |