Oracle error Oracle session oracle pl sql error

Oracle Error ORA-00034

Cause:An attempt was made to issue a commit or rollback from a PL/SQL object (procedure, function, package) in a session that has this disabled (by 'alter session disable commit in procedure')

ALTER SESSION DISABLE COMMIT IN PROCEDURE

Action: Enable commits from PL/SQL in this session, or do not attempt to use commit or rollback in PL/SQL when they are disabled in the current session.

For example:

alter session disable commit in procedure;

>exec view.refresh( 'TT' );

* ERROR at line 1: ORA-00034: cannot COMMIT in current PL/SQL session ORA-06512: at "SYS.DBMS_SNAPSHOT", line 803 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 860 ORA-06512: at "SYS.DBMS_SNAPSHOT", line3 ORA-06512: at line 1

 

Oracle Error ORA-00034

 
 
Oracle news Oracle guide
     
  29-02-2007 Oracle Errors ORA ORA-00034
     
  29-11-2006 Guida Oracle 10g
     
  30-02-2007 Oracle Server
 
 
Oracle Functions PLSQL  l Consulenza Software Verona  l  Siti Web Verona  l   Exceptions  l  Oracle Errors  l  Oracle Collaborations Suite  l  Products  l  Contact
Oracle errors ora