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 : 24-06-2017
ORA-22972

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-09932 : Close of ORACLE password file failed.
  • ora-16133 : Datafile string has incorrect terminal recovery stamp.
  • ora-26687 : no instantiation SCN provided for "string"."string" in source database "string"
  • ora-01243 : system tablespace file suffered media failure
  • ora-39028 : cannot restart job from string state
  • ora-07215 : slsget: getrusage error.
  • ora-37126 : (XSCCOMP01) The COMPRESSED COMPOSITE workspace object can only be used as a base of a single variable.
  • ora-34487 : (MXMAINT08) You cannot string values of non-unique concat dimension workspace object.
  • ora-38750 : FLASHBACK DATABASE may not be performed using a dispatcher.
  • ora-38860 : cannot FLASHBACK DATABASE during instantiation of a logical standby
  • ora-02845 : Invalid value for the timing wanted flag
  • ora-08445 : syntax error in SIGN clause in mask options
  • ora-24077 : cannot create propagation schedule for EXCEPTION queue string.string
  • ora-37112 : OLAP API requires Oracle 9.2 or later
  • ora-16762 : invalid database state
  • ora-01649 : operation not allowed with a backup control file
  • ora-02391 : exceeded simultaneous SESSIONS_PER_USER limit
  • ora-01219 : database not open: queries allowed on fixed tables/views only
  • ora-12416 : policy string not found
  • ora-00407 : rolling upgrade from release string.string to string.string is not allowed
  • ora-27467 : invalid datatype for string value
  • ora-28000 : the account is locked
  • ora-14602 : SUBPARTITION TEMPLATE is legal only for a composite partitioned table
  • ora-00331 : log version string incompatible with ORACLE version string
  • ora-13607 : The specified task or object string already exists
  • ora-10914 : invalid TABLESPACE GROUP clause
  • ora-19162 : XP0004 - XQuery type mismatch: invalid argument types 'string', 'string' for function 'string'
  • ora-00489 : ARB* process terminated with error
  • ora-25408 : can not safely replay call
  • ora-21605 : property [string] is not a property of value instances
  • 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.