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 : 22-06-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-31205 : DBMS_LDAP: PL/SQL - Invalid LDAP Auth method.
  • ora-10852 : Enable tracing for Enqueue Dequeue Operations
  • ora-31613 : Master process string failed during startup.
  • ora-07683 : sou2os: $SETPRV reset error
  • ora-30040 : Undo tablespace is offline
  • ora-24180 : invalid transformation expression, the transformation expression does not evaluate to the target type/attribute
  • ora-35280 : (SNSYN165) The format of the AGGREGATE command is: AGGREGATE varname1 [varname2 varname3 ...] USING aggmap-name [COUNTVAR intvar-name1 [intvar-name2 intvar-name3 ...]] [FUNCDATA] [THREADS #]
  • ora-27003 : cannot open file on device allocated with NOIO option
  • ora-16209 : Logical standby dictionary build failed to complete.
  • ora-02700 : osnoraenv: error translating ORACLE_SID
  • ora-01029 : internal two task error
  • ora-30389 : the source statement is not compatible with the destination statement
  • ora-19956 : database should have no offline immediate datafiles
  • ora-32031 : illegal reference of a query name in WITH clause
  • ora-02430 : cannot enable constraint (string) - no such constraint
  • ora-02228 : duplicate SIZE specification
  • ora-14065 : ALLOCATE STORAGE may not be specified for a partitioned table
  • ora-01520 : number of data files to add (string) exceeds limit of string
  • ora-06709 : TLI Driver: message send failure
  • ora-26000 : partition load specified but table string is not partitioned
  • ora-01983 : invalid auditing option for DEFAULT
  • ora-12840 : cannot access a remote table after parallel/insert direct load txn
  • ora-28239 : no key provided
  • ora-16740 : redo transport service for standby database "string" incorrectly set to ALTERNATE
  • ora-19769 : missing FILE keyword
  • ora-39048 : Unable to start all workers; only string worker(s) available.
  • ora-01198 : must specify size for log file if RESETLOGS
  • ora-24125 : Object string.string has changed
  • ora-12201 : TNS:encountered too small a connection buffer
  • ora-30765 : cannot modify scope for an unscoped REF column
  • 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.