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

Last updated on NOVEMBER 12, 2010

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.4 and later   [Release: 10.2 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
2 SELECT
3 o.num_operation,
4 o.entite_operation,
5 o.portefeuille,
6 o.contrepartie,
7 o.titre,
8 o.date_echeance cal_date_ic,
9 o.date_valeur,
10 o.date_operation,
11 '**********' tri_1,
12 '**********' tri_2,
13 '**********' tri_3,
14 t.code_isin,
15 o.entite,
16 o.poste,
17 o.flag_coup,
18 o.date_valeur cal_date_tombee,
19 o.valeur_taux_1 cal_valeur_taux_bis,
20 o.type_instrument_4
21 FROM op.histo_operation o, op.titre t
22 WHERE (o.titre = t.code(+)) AND o.poste IN (SELECT code FROM op.operation_poste WHERE classe IN ('R', 'M', 'L', 'B')) AND
23 o.statut IN ('V', 'M');

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

Cause

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