ORA-22972: NULL value not allowed in PRIMARY KEY-based object identifier

Cause : A avlu ecosntiuttign teh PIRMAYR KYE-bsaedo bjcet dienitfire i sNULL.

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

Enusret hee xperssoinsi n AMKER_EFs ysetm ufncitono r tatrbiutse i nth eWIHT OJBEC TOI Dcluaseo f na ojbec tviwe d ono tevlauaet t oNULL.

update : 22-08-2017

ORA-22972 - NULL value not allowed in PRIMARY KEY-based object identifier
ORA-22972 - NULL value not allowed in PRIMARY KEY-based object identifier

  • ora-01757 : Must specify an object number
  • ora-08118 : Deferred FK constraints cannot be enforced, index too big (string)
  • ora-16629 : database reports a different protection level from the protection mode
  • ora-00383 : DEFAULT cache for blocksize string cannot be reduced to zero
  • ora-32642 : non-unique cell values from the ORDER BY clause
  • ora-32146 : Cannot perform operation on a null date
  • ora-13196 : failed to compute supercell for element string.string.string
  • ora-36800 : (XSTBLFUNC00) The OLAP_TABLE function can only have a single LOOP statement within the LIMITMAP
  • ora-06024 : NETASY: VTM error
  • ora-12018 : following error encountered during code generation for "string"."string"
  • ora-07708 : sksaprs: tape label name buffer too small
  • ora-07595 : sppid: $GETJPIW failure
  • ora-01346 : LogMiner processed redo beyond specified reset log scn
  • ora-13145 : failed to generate range list
  • ora-16053 : DB_UNIQUE_NAME string is not in the Data Guard Configuration
  • ora-16623 : stale DRC UID sequence number detected
  • ora-32612 : invalid use of FOR loop
  • ora-01564 : rollback segment is not PUBLIC
  • ora-08456 : no sign in picture mask but SIGN clause in mask options
  • ora-38902 : errors in array insert exceed string
  • ora-25184 : column name expected
  • ora-32806 : value for string is too long, maximum length is string
  • ora-25126 : Invalid name specified for BUFFER_POOL
  • ora-24063 : cannot downgrade QUEUE_TABLE that has queues with rule-based subscribers
  • ora-10926 : trace name context forever
  • ora-09788 : sllfrb: unable to read file.
  • ora-24347 : Warning of a NULL column in an aggregate function
  • ora-16575 : request terminated at broker discretion
  • ora-13300 : single point transform error
  • ora-02439 : Unique index on a deferrable constraint is not allowed
  • 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.