My Oracle Support Banner

ORA-12060 After Upgrade From 9i to 10g (Doc ID 1163393.1)

Last updated on FEBRUARY 24, 2019

Applies to:

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

Symptoms

After upgrade from 9i to 10g, when creating a materialized  view based on prebuilt table error
ORA-12060 is happening even though prebuilt table and materialized view are identical.


SQL> create materialized view tmp_ss_poku on prebuilt table as
SELECT
o.num_operation,
o.entite_operation,
o.portefeuille,
o.contrepartie,
o.titre,
o.date_echeance cal_date_ic,
o.date_valeur,
o.date_operation,
'**********' tri_1,
'**********' tri_2,
'**********' tri_3,
t.code_isin,
o.entite,
o.poste,
o.flag_coup,
o.date_valeur cal_date_tombee,
o.valeur_taux_1 cal_valeur_taux_bis,
o.type_instrument_4
FROM TSTSCHEMA.TEST1 o, TSTSCHEMA.TEST2 t
WHERE (o.titre = t.code(+)) AND o.poste IN (SELECT code FROM TSTSCHEMA.TEST3 WHERE classe IN ('R', 'M', 'L', 'B')) AND
o.statut IN ('V', 'M');

o.num_operation,
*
ERROR at line 3:
ORA-12060: shape of prebuilt table does not match definition query

Changes

 

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
Changes
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.