My Oracle Support Banner

Wrong Results With Domain Index And Before Row Triggers (Doc ID 2420571.1)

Last updated on FEBRUARY 23, 2023

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.


NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

In a 12c database any update on a table containing a domain index and before row triggers leads to incorrect results. A before row trigger in the statement modifies the column and a subsequent  trigger with an unreferenced bind (eg. a NEW reference in an IF clause in the trigger that is never executed) aborts the update on the column.

 This behavior can be easily tested with the following steps:




 The database has been upgraded to 12c.


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.