ORA-38815
ALTER SESSION SET EDITION must be a top-level SQL statement.
Cause
An edition switch failed because it was executed from a PL/SQL block or was using recursive SQL.
Action
Execute the statement from a top-level call, or use the DBMS_SESSION.SET_EDITION_DEFERRED package if the deferred effect is appropriate.
ORA-38815
ALTER SESSION SET EDITION must be a top-level SQL statement
Cause
An edition switch failed because it was executed from a PL/SQL block or using recursive SQL.
Action
Execute the statement from a top-level OCI call, or use dbms_session.set_edition if its deferred effect is appropriate.
ORA-38815
ALTER SESSION SET EDITION must be a top-level SQL statement
Cause
An edition switch failed because it was executed from a PL/SQL block or using recursive SQL.
Action
Execute the statement from a top-level OCI call, or use dbms_session.set_edition if its deferred effect is appropriate.