QSM-02180: no primary key constraint in the master table



QSM-02180: no primary key constraint in the master table..

Answer / guest

Cause: The explain_mview assumes that the materialized view
is going to be created as the Primary Key materialized view.
A Primary Key materialized view can not be created if the
base table does not have a primary key constraint.

Action: Add a primary key constraint to the base table, or
create the materialized view as Rowid MV by specifying the
WITH ROWID option. If the materialized view is a Rowid MV,
then it should be able to do complete refresh and even fast
refresh, given that the materialized view log on the master
table has a rowid.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

EXP-00055: %s.string is marked not exportable

1 Answers  


LSX-00156: type is final and no derivations are allowed

1 Answers  


NZE-29102: Cannot add certificate bag.

1 Answers  


IMG-02008: 2FF08 - color histogram feature cannot be determined

1 Answers  


ORA-07487: scg_init_lm: cannot create lock manager instance.

1 Answers  






DRG-12231: an attr section named string already exists in this section group

1 Answers  


NNL-00012: invalid "string" value "string"

1 Answers  


ORA-13408: invalid blockSize storage parameter

1 Answers  


ORA-19615: some files not found in backup set

1 Answers  


ORA-16095: Dependent destination removal for inactivation

1 Answers  


ORA-06561: given statement is not supported by package DBMS_SQL

1 Answers  


NZE-28818: No package context provided.

1 Answers  


Categories