My Oracle Support Banner

ORA-54015: Duplicate Column Expression Was Specified" Error when sys_extract_utc is used as base for a function based index (Doc ID 1600420.1)

Last updated on AUGUST 04, 2018

Applies to:

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

Symptoms

When attempting to create an FBI,
the following error occurs.

ERROR
-----------------------
"ORA-54015: Duplicate column expression was specified"

create table mediator_containerid_lease( container_id varchar2(100), renewal_time timestamp (6) with time zone);
create index ix_utc_containerid_renewaltime on mediator_containerid_lease(sys_extract_utc(renewal_time), container_id, renewal_time);
ERROR : ORA-54015: Duplicate column expression was specified


The error does not occur in the following 2 cases:
-- a) removing the last column of the original index:
create index ix_utc_containerid on mediator_containerid_lease(sys_extract_utc(renewal_time), container_id);

-- b) add '0' minutes to the expression
create index ix_utc_containerid_renewaltim0 on mediator_containerid_lease(sys_extract_utc(renewal_time)+ interval '0' minute, container_id, renewal_time);

  

Cause

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
Symptoms
Cause
Solution
References


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