My Oracle Support Banner

Trigger Does Not Work Properly After ALTER TABLE ... DROP UNUSED COLUMNS (Doc ID 2614661.1)

Last updated on NOVEMBER 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database - Standard Edition - Version and later
Information in this document applies to any platform.


On 18c and onwards, trigger shows incorrect behavior after doing "alter table ... drop unused columns" command to the table that is referenced by the trigger.

After running such DDL, we'd expect the trigger to be invalidated and needs to be recompiled.  However, this DDL statement does not invalidate the trigger, and the trigger fires on a wrong column.


Observe following example.
Let us say tables and trigger are created like below.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.