Showing posts with label UPDATE. Show all posts
Showing posts with label UPDATE. Show all posts

Tuesday, 22 May 2012

ORA-30502: system triggers cannot have INSERT, UPDATE, or DELETE as triggering events

ORA-30502: system triggers cannot have INSERT, UPDATE, or DELETE as triggering events

Cause: An attempt was made to create a system trigger with INSERT, UPDATE, or DELETE triggering events, but this type of trigger is not supported because a system trigger does not have a base table.

Action: Do not attempt to create a system trigger with INSERT, UPDATE, or DELETE triggering events.

Sunday, 5 February 2012

ORA-06547: RETURNING clause must be used with INSERT, UPDATE, or DELETE statements

ORA-06547: RETURNING clause must be used with INSERT, UPDATE, or DELETE statements

Cause: EXECUTE IMMEDIATE with a RETURNING clause is used to execute dynamic UPDATE, INSERT, or DELETE statements only.

Action: use RETURNING clause in EXECUTE IMMEDIATE for INSERT, UPDATE, or DELETE statements only. For other statements, use USING clause instead.