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-04-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-36632 : (XSDUNION01) The concat dimension workspace object is not currently defined as UNIQUE.
  • ora-27508 : IPC error sending a message
  • ora-38201 : assert if pin during flush
  • ora-13613 : The requested operation is not supported for this advisor object.
  • ora-14057 : partition "string": sum of PCTUSED and PCTFREE may not exceed 100
  • ora-14009 : partition bound may not be specified for a LOCAL index partition
  • ora-06778 : TLI Driver: error sending ccode
  • ora-37603 : (XSPGERRTEMPSYSTEM) Ran out of temporary storage while writing to a system temporary analytic workspace. Free some temporary storage immediately. You can do so, for example, by DETACHING an analytic workspace.
  • ora-14135 : a LOB column cannot serve as a partitioning column
  • ora-24063 : cannot downgrade QUEUE_TABLE that has queues with rule-based subscribers
  • ora-19803 : Parameter DB_RECOVERY_FILE_DEST_SIZE is out of range (1 - string)
  • ora-22895 : referenced table "string" in schema "string" is not an object table
  • ora-00609 : could not attach to incoming connection
  • ora-32015 : unable to restore SPFILE
  • ora-02264 : name already used by an existing constraint
  • ora-24124 : invalid ACTION parameter passed to DBMS_REPAIR.string procedure
  • ora-29850 : invalid option for creation of domain indexes
  • ora-13367 : wrong orientation for interior/exterior rings
  • ora-30654 : missing DEFAULT keyword
  • ora-32818 : AQ queue string does not exist
  • ora-07211 : slgcs: gettimeofday error, unable to get wall clock.
  • ora-13909 : Invalid combination of threshold value and operator.
  • ora-02819 : Write failed
  • ora-37171 : dimension sources not specified
  • ora-29326 : SET COMPATIBILITY release number higher than string
  • ora-01599 : failed to acquire rollback segment (string), cache space is full
  • ora-16630 : that database property was deprecated
  • ora-02834 : Server unable to open file
  • ora-06515 : PL/SQL: unhandled exception string
  • ora-16407 : Standby database is in the future of the archive log
  • 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.