12.2 CZPURGE ORA-20001 TABLE CZ_UI_PAGE_REFS HAS NO PK DEFINED
Last updated on MAY 09, 2018
Applies to:Oracle Configurator - Version 12.2.4 and later
Information in this document applies to any platform.
On : 18.104.22.168.4 version, Maintenance
When running the 'Purge Configurator Tables', it errors out with 'ORA-20001: Table CZ_MODEL_PUBLICATIONS has no PK defined.'
Support had the Customer run the following SQL from Bug 20361516:
ALTER TABLE CZ.CZ_MODEL_PUBLICATIONS ADD CONSTRAINT CZ_MODEL_PUBLICATIONS_PK
PRIMARY KEY (PUBLICATION_ID)
USING INDEX CZ.CZ_MODEL_PUBLICATIONS_U1
After running SQL above, the Customer ran CZPURGE again and the following error was seen in the log file:
Purge terminated due to fatal error: ORA‐20001: Table CZ_UI_PAGE_REFS has no PK defined.
Purge terminated due to fatal error: ORA-20001: Table CZ_MODEL_PUBLICATIONS has no PK defined.
The issue can be reproduced at will with the following steps:
1) Oracle Configurator Responsibility,
2) Oracle Configurator Developer,
3) Concurrent Programs,
5) Find and select the Purge Configuration Models Concurrent Program,
6) Complete the rest of the user specific entries and run the concurrent program.
7) The program fails to complete.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms