SOLVED

ORA-12841: Cannot Alter The Session Parallel DML State Within A Transaction

Asked by OracleDba12 viewsoracle

ORA-12841: Cannot Alter The Session Parallel DML State Within A Transaction

#oracle#error

Solutions(1)

Accepted Solution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
If we are enabling parallel DML option, after doing some transaction, then we need to issue COMMIT or ROLLBACK, before enabling DML parallel.

SQL> alter session enable parallel dml;

ERROR:

ORA-12841: Cannot alter the session parallel DML state within a transaction

SQL> commit;

Commit complete.

SQL> alter session enable parallel dml;

Session altered.
OracleDba

Post Your Solution