Administrator
|
You are talking about the WITH Clause, right?
So, if you omit this clause, or if you specify the clause without PRIMARY KEY, ROWID, or OBJECT ID, then the database stores primary key values by default and if you don't have primary key on master table, then you will end up with ORA-12014.
Read this: Differences Between Rowid & Primary Key Materialized Views (Doc ID 254593.1)
Well. You can also use rowid rather than primary key but; note that, without a primary key, you cannot do a materialized view fast refresh.
|