Tuesday, 22 May 2012

ORA-30515: suspend triggers cannot have BEFORE type

ORA-30515: suspend triggers cannot have BEFORE type

Cause: An attempt was made to create a trigger that fires before execution suspended. This type of trigger is not supported.

Action: Do not attempt to create a trigger that fires before execution suspended.

ORA-30514: system trigger cannot modify tablespace being made read only

ORA-30514: system trigger cannot modify tablespace being made read only

Cause: A beofre trigger tries to modify a tablespace which is being made READ ONLY as the part of DDL oepration

Action: Modify the trigger to avoid modifications to the objects in the same tablespace as the one which is being made read only, or use autonomous transactions to commit modifications

ORA-30513: cannot create system triggers of INSTEAD OF type

ORA-30513: cannot create system triggers of INSTEAD OF type

Cause: Only BEFORE or AFTER triggers can be created on system events.

Action: Change the trigger type to BEFORE or AFTER.

ORA-30512: cannot modify string.string more than once in a transaction

ORA-30512: cannot modify string.string more than once in a transaction

Cause: An attempt was made to modify an object more than once in a transaction. This error is usually caused by a DDL statement that fires a system trigger that tries to modify the same object. It can also happen when an attempt is made to perform more than one DDL operation on a queue table in the same transaction without issuing a commit between operations.

Action: Do not create system triggers that might modify an already modified object. Also, do not specify more than one DDL operation on a queue table in the same transaction.

ORA-30511: invalid DDL operation in system triggers

ORA-30511: invalid DDL operation in system triggers

Cause: An attempt was made to perform an invalid DDL operation in a system trigger. Most DDL operations currently are not supported in system triggers. The only currently supported DDL operations are table operations and ALTER?COMPILE operations.

Action: Remove invalid DDL operations in system triggers.

ORA-30510: system triggers cannot be defined on the schema of SYS user

ORA-30510: system triggers cannot be defined on the schema of SYS user

Cause: An attempt was made to define a system trigger on the schema of SYS user. This type of trigger is not supported currently.

Action: Do not attempt to create a system trigger defined on the schema of SYS user.

ORA-30509: client logoff triggers cannot have AFTER type

ORA-30509: client logoff triggers cannot have AFTER type

Cause: An attempt was made to create a trigger that fires after logoff. This type of trigger is not supported.

Action: Do not attempt to create a trigger that fires after logoff.