Oracle Error ORA-38912: An index must be specified in the index hint

Oracle Error Message

ORA-38912: An index must be specified in the index hint

Reason for the Error

Index specification was missing in an IGNORE_ROW_ON_DUPKEY_INDEX or CHANGE_DUPKEY_ERROR_INDEX hint.

Solution

In the hint, specify a unique index that exists on the table.