How to fix the Oracle error ORA-30505: system triggers should not reference a column in a WHEN clause?

In this post, you’ll learn more about the Oracle ErrorORA-30505: system triggers should not reference a column in a WHEN clause with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-30505: system triggers should not reference a column in a WHEN clause

Reason for the Error ORA-30505: system triggers should not reference a column in a WHEN clause

An attempt was made to use a WHEN clause to reference a column with a system trigger, but this type of trigger is not supported because a system trigger does not have a base table.

How to fix the Error ORA-30505: system triggers should not reference a column in a WHEN clause ?

You can fix this error in Oracle by following the below steps

Change the WHEN clause to an appropriate clause.

Tags :

Leave Your Comment