Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle l »

ORA-12838 please : Is possible to append two times to the same table before doing a commit

Juan Cachito Reyes Pacheco

2004-04-01

Replies:

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
                   *
ERROR en lÝnea 1:
ORA-12838: no se puede leer/modificar un objeto despuÚs de modificarlo en
paralelo


before doing a commit

Thanks :)

Juan Carlos Reyes Pacheco
OCP
Database 9.2 Standard Edition


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
©2008 dba.5341.com - Jax Systems, LLC, U.S.A.