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 : 27-05-2017

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-16636 : Fast-Start Failover target standby in error state, cannot stop observer
  • ora-16635 : NetSlave connection was broken in the middle of a transmission session
  • ora-12430 : invalid privilege number
  • ora-03208 : partitioned type must be specified for a non-composite object
  • ora-01231 : cannot make read write - file string is offline
  • ora-13017 : unrecognized line partition shape
  • ora-32127 : REFs do not belong to any connection
  • ora-01699 : tablespace 'string' is being imported for point in time recovery
  • ora-32739 : Hang analysis aborted due to failed heap re-grow
  • ora-23478 : object group "string" is already mastered at string
  • ora-13379 : invalid index for sub-element to be extracted
  • ora-16104 : invalid Logical Standby option requested
  • ora-13358 : circle type does not contain 3 points
  • ora-26753 : Mismatched columns found in 'string.string'
  • ora-27367 : program "string.string" associated with this job is disabled
  • ora-07505 : scggt: $enq parent lock unexpected return
  • ora-08432 : raw data has invalid floating point data
  • ora-01497 : illegal option for ANALYZE CLUSTER
  • ora-08209 : scngrs: SCN not yet initialized
  • ora-16107 : all log data from primary has been processed
  • ora-01734 : illegal parameters - EXTENT MIN higher than EXTENT MAX
  • ora-13857 : Invalid module name
  • ora-01978 : Missing sequence number
  • ora-30200 : Wrong NLS item was passed into OCINlsGetInfo()
  • ora-30928 : Connect by filtering phase runs out of temp tablespace
  • ora-24763 : transaction operation cannot be completed now
  • ora-27057 : cannot perform async I/O to file
  • ora-00027 : cannot kill current session
  • ora-01610 : recovery using the BACKUP CONTROLFILE option must be done
  • ora-38423 : Attribute set created from an ADT may not be extended.
  • 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.