ORA-12089: cannot online redefine table "string"."string" with no primary key

Cause : An attempt was made to online redefine a table that does not have a primary key defined on it.

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

Do not attempt to online redefine a table that does not have a primary key defined on it.

update : 22-07-2017
ORA-12089

ORA-12089 - cannot online redefine table "string"."string" with no primary key
ORA-12089 - cannot online redefine table "string"."string" with no primary key

  • ora-24148 : cannot drop rule string.string with dependents
  • ora-00401 : the value for parameter string is not supported by this release
  • ora-01306 : dbms_logmnr.start_logmnr() must be invoked before selecting from v$logmnr_contents
  • ora-30001 : trim set should have only one character
  • ora-36977 : (XSRELGID17) The GROUPINGID command does not support hierarchies with more than 126 levels.
  • ora-13018 : bad distance type
  • ora-19526 : only one location allowed for parameter string
  • ora-16036 : invalid MANAGED recovery CANCEL option
  • ora-16400 : quota attributes are not allowed with DB_RECOVERY_FILE_DEST
  • ora-36639 : (XSDUNION18) UNIQUE cannot be applied to this concat dimension because leaves workspace object and workspace object share the value number.
  • ora-15132 : block string of file string in diskgroup string could not be written
  • ora-27212 : some entrypoints in Media Management Library are missing
  • ora-01552 : cannot use system rollback segment for non-system tablespace 'string'
  • ora-12043 : invalid CREATE MATERIALIZED VIEW option
  • ora-01244 : unnamed datafile(s) added to control file by media recovery
  • ora-09216 : sdnfy: bad value 'string' for parameter string
  • ora-01585 : error identifying backup file string
  • ora-23292 : The constraint does not exist
  • ora-02484 : Invalid _trace_buffers parameter specification (string)
  • ora-22279 : cannot perform operation with LOB buffering enabled
  • ora-28668 : cannot reference mapping table of an index-organized table
  • ora-25279 : dequeue as select not supported before 8.2
  • ora-10560 : block type 'string'
  • ora-02195 : Attempt to create string object in a string tablespace
  • ora-07497 : sdpri: cannot create trace file 'string'; errno = string.
  • ora-01286 : start interval required
  • ora-12322 : unable to mount database (link name string)
  • ora-37128 : (XSCCOMP03) It is not possible to PARTITION over a base of a COMPRESSED COMPOSITE.
  • ora-32400 : cannot use object id columns from materialized view log on "string"."string"
  • ora-38407 : The ADT associated with the attribute set already exists.
  • 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.