How to fix the error ORA-00034: cannot string in current PL/SQL session?

In this post, you’ll learn more about the Oracle ErrorORA-00034: cannot string in current PL/SQL session with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-00034: cannot string in current PL/SQL session

Reason for the Error ORA-00034: cannot string in current PL/SQL session

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’)

How to fix the Error ORA-00034: cannot string in current PL/SQL session ?

You can fix this error in Oracle by following the below steps

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.

Tags :

Leave Your Comment