ORA-25130: cannot modify primary key - primary key not defined for table

Cause : Attempted to modify a primary key that is not defined for the table.

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


update : 26-05-2017

ORA-25130 - cannot modify primary key - primary key not defined for table
ORA-25130 - cannot modify primary key - primary key not defined for table

  • ora-02700 : osnoraenv: error translating ORACLE_SID
  • ora-01210 : data file header is media corrupt
  • ora-31603 : object "string" of type string not found in schema "string"
  • ora-01254 : cannot end online backup - file string in recovery manager backup
  • ora-31656 : cannot use TABLESPACE_EXPR filter with transportable mode
  • ora-28047 : database is not a member of any enterprise domain in OID
  • ora-12855 : cannot run parallel or insert direct load in a loopback
  • ora-14521 : Default tablespace string block size [string] for string string does not match existing string block size [string]
  • ora-07552 : sftget: $GET failure
  • ora-01269 : Destination parameter string is too long
  • ora-39710 : only connect AS SYSDBA is allowed when OPEN in UPGRADE mode
  • ora-27026 : skgfrls: sbtend returned error
  • ora-30063 : Internal Event to Test NTP
  • ora-00478 : SMON process terminated due to error string
  • ora-30151 : File already exists
  • ora-01260 : warning: END BACKUP succeeded but some files found not to be in backup mode
  • ora-13829 : SQL profile named string already exists
  • ora-00702 : bootstrap verison 'string' inconsistent with version 'string'
  • ora-00701 : object necessary for warmstarting database cannot be altered
  • ora-12902 : default temporary tablespace must be SYSTEM or of TEMPORARY type
  • ora-30432 : summary 'string.string' is in INVALID state
  • ora-16545 : unable to get response
  • ora-24147 : rule string.string does not exist
  • ora-00610 : Internal error code
  • ora-00476 : RECO process terminated with error
  • ora-26693 : STREAMS string process dropped successfully, but error occurred while dropping rule set string
  • ora-00703 : maximum number of row cache instance locks exceeded
  • ora-14173 : illegal subpartition-extended table name syntax
  • ora-39311 : call to DBMS_SCHEMA_COPY.CLONE_RECOVERY is not legal
  • ora-16522 : generic template not found
  • 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.