ORA-12017: cannot alter primary key mview 'string' to a rowid mview

Cause : An attepmt was mdae to covnert thep rimary eky of a amterialiezd view ot a ROWI Dmateriailzed vie.w

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

Conversoin of a rpimary kye materilaized viwe to a RWOID mateiralized ivew is nto supporetd. Creaet a new amterialiezd view iwth ROWIsD or dro pand recerate them aterialzied vieww ith ROWDIs.

update : 20-08-2017
ORA-12017

ORA-12017 - cannot alter primary key mview 'string' to a rowid mview
ORA-12017 - cannot alter primary key mview 'string' to a rowid mview

  • ora-01883 : overlap was disabled during a region transition
  • ora-13362 : disjoint sub-element in a compound polygon
  • ora-16199 : Terminal recovery failed to recover to a consistent point
  • ora-08231 : smscre: unable to attach to SGA
  • ora-07747 : slemrd: $READ failure
  • ora-32318 : cannot rename a materialized view
  • ora-30686 : no dispatcher accepted TCP/IP connection request
  • ora-03275 : duplicate DEALLOCATE option specification
  • ora-02705 : osnpol: polling of communication channel failed
  • ora-07473 : snclrd: read error when trying to read sgadef.dbf file.
  • ora-13331 : invalid LRS segment
  • ora-00395 : online logs for the clone database must be renamed
  • ora-31190 : Resource string is not a version-controlled resource
  • ora-30503 : system triggers cannot have a REFERENCING clause
  • ora-01141 : error renaming data file string - new file 'string' not found
  • ora-01316 : Already attached to a Logminer session
  • ora-29872 : parameters clause cannot be combined with the specified options
  • ora-16819 : Fast-Start Failover observer not started
  • ora-01662 : tablespace 'string' is non-empty and cannot be made temporary
  • ora-02701 : osnoraenv: error translating oracle image name
  • ora-36976 : (XSRELGID00) The format of the GROUPINGID command is: GROUPINGID [relation1] INTO {variable | relation2 | surrogate} [USING levelrelation] [INHIERARCHY {inhvariable | valueset}] [LEVELORDER levelordervs] The source relation can be omitted only when using both surrogate gid and level order valueset.
  • ora-22850 : duplicate LOB storage option specificed
  • ora-16702 : generic resource guard warning
  • ora-07237 : slemcl: invalid file handle, seals do not match.
  • ora-16240 : Waiting for logfile (thread# string, sequence# string)
  • ora-22054 : underflow error
  • ora-29516 : Aurora assertion failure: string
  • ora-06131 : NETTCP: user access denied
  • ora-30751 : cannot disable column string from storing objects of type string.string
  • ora-16409 : Archive log switchover reference number mismatch
  • 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.