My Oracle Support Banner

ALTER TEMPORARY ODS TABLES ERROR WITH ORA-01452 (Doc ID 1967007.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Advanced Supply Chain Planning - Version 12.0.6 and later
Information in this document applies to any platform.

Symptoms


Customer faced the following error on Alter Temporary ODS Tables.

ERROR
-----------------------
18-SEP 01:16:10 : ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
18-SEP 01:16:10 : ======= Below records violate the unique constraint =======
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158156 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158157 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158175 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158181 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158203 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158204 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158207 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158210 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158213 / SR_INSTANCE_ID 2021
18-SEP 01:16:13 : PLAN_ID -1 / DEMAND_ID 468158228 / SR_INSTANCE_ID 2021


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1.Run Planning ODS Load.

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.