ORA-12066: invalid CREATE MATERIALIZED VIEW command

Cause : The Replication API does not support the following options and types of materialized view: o ROWID materialized views o REFRESH ON COMMIT o ON PREBUILT TABLE o BUILD DEFERRED o NEVER REFRESH o ENABLE QUERY REWRITE

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Create a PRIMARY KEY materialized view using REFRESH WITH PRIMARY KEY and/or remove the invalid options.

update : 29-04-2017

ORA-12066 - invalid CREATE MATERIALIZED VIEW command
ORA-12066 - invalid CREATE MATERIALIZED VIEW command

  • ora-19592 : wrong string conversation type
  • ora-16564 : lookup failed, syntax error at string
  • ora-06532 : Subscript outside of limit
  • ora-04032 : pga_aggregate_target must be set before switching to auto mode
  • ora-00255 : error archiving log string of thread string, sequence # string
  • ora-14289 : cannot make local index partition of Composite Range partitioned table unusable
  • ora-29865 : indextype is invalid
  • ora-16018 : cannot use string with LOG_ARCHIVE_DEST_n or DB_RECOVERY_FILE_DEST
  • ora-01484 : arrays can only be bound to PL/SQL statements
  • ora-16202 : Skip procedure requested to replace statement
  • ora-14552 : cannot perform a DDL, commit or rollback inside a query or DML
  • ora-16563 : unable to add value, syntax error at "string"
  • ora-19253 : XQ0033 - too many declarations for namespace prefix string
  • ora-31232 : DBMS_LDAP: invalid MOD_PROPERTY_SET
  • ora-29532 : Java call terminated by uncaught Java exception: string
  • ora-16070 : parameter string contains an invalid REGISTER attribute value
  • ora-02322 : failure in accessing storage table of the nested table column
  • ora-16013 : log string sequence# string does not need archiving
  • ora-16521 : unable to create generic template id
  • ora-13708 : Some snapshots in the range [string, string] were purged before the analysis was complete.
  • ora-24002 : QUEUE_TABLE string does not exist
  • ora-26699 : STREAMS message consumer string already exists
  • ora-13372 : failure in modifying metadata for a table with spatial index
  • ora-30348 : ADD and DROP cannot both be specified
  • ora-16033 : parameter string destination cannot be the same as parameter string destination
  • ora-16721 : unable to set LOG_ARCHIVE_DEST_n initialization parameters
  • ora-19238 : XP0018 - focus not defined
  • ora-07455 : estimated execution time (string secs), exceeds limit (string secs)
  • ora-06419 : NETCMN: server can not start oracle
  • ora-06913 : CMX: error during redirection of connection
  • Oracle Database Error Messages

    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.