How to fix the Oracle error ORA-56728: SQL blocks cannot be nested?

In this post, you’ll learn more about the Oracle ErrorORA-56728: SQL blocks cannot be nested with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-56728: SQL blocks cannot be nested

Reason for the Error ORA-56728: SQL blocks cannot be nested

An attempt was made to start an SQL block using DBMS_RESOURCE_MANAGER.BEGIN_SQL_BLOCK() while already inside an SQL block.

How to fix the Error ORA-56728: SQL blocks cannot be nested ?

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

Close the existing SQL block using DBMS_RESOURCE_MANAGER.BEGIN_SQL_BLOCK() or remove this call.

Tags :

Leave Your Comment