Auf Thema antworten

und wenn ich das erstellen der Spalte auskommentiere..


bekomme ich...


ORA-14552: DDL-, Commit- oder Rollback-Vorgang kann innerhalb einer Abfrage oder DML nicht durchgeführt werden 

ORA-06512: in "BI_ADMIN.F_CHECKTABLES", Zeile 44

14552. 00000 -  "cannot perform a DDL, commit or rollback inside a query or DML "

*Cause:    DDL operations like creation tables, views etc. and transaction

           control statements such as commit/rollback cannot be performed

           inside a query or a DML statement.

*Action:   Ensure that the offending operation is not performed or

           use autonomous transactions to perform the operation within

           the query/DML operation.


Kann ich das mit hingekommen?


pragma autonomous_transaction;


Zurück
Oben