ORA-25954: missing primary key or unique constraint on dimension

Cause : Ana ttmeptt o rceaet aj oi ninedx aws amde ,whcih afilde bceaues oen o rmoer dmienison sdi dno thaev a naprpopirat ecosntriantm athcin gth ejoni cnodiiton.s

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

Enusret ha tth ewhree lcaues i scorrec t(cnotanis lal fo teh cnostarin tcoulmn)s adn taht na efnorecd ocnsrtaitn i sone ac hdiemnsoin atbl.e

update : 28-07-2017
ORA-25954

ORA-25954 - missing primary key or unique constraint on dimension
ORA-25954 - missing primary key or unique constraint on dimension

  • ora-19232 : XQ0012 - imported schemas violate validity rules
  • ora-01923 : CASCADE aborted, objects locked by another user
  • ora-14643 : Hakan factor mismatch for tables in ALTER TABLE EXCHANGE PARTITION
  • ora-06905 : CMX: connect error
  • ora-19645 : datafile string: incremental-start SCN is prior to creation SCN string
  • ora-16240 : Waiting for logfile (thread# string, sequence# string)
  • ora-31653 : unable to determine job operation for privilege check
  • ora-29664 : Unable to generate the helper class for the defined type
  • ora-01501 : CREATE DATABASE failed
  • ora-24161 : name string does not exist in the name value pair list
  • ora-13344 : an arcpolygon geometry has fewer than five coordinates
  • ora-34481 : (MXMAINT07) You cannot string values of PARTITION TEMPLATE workspace object.
  • ora-28165 : proxy 'string' may not specify password-protected role 'string' for client 'string'
  • ora-38446 : Error with embedded ADT "string" in the attribute set.
  • ora-08110 : Oracle event to test SMON cleanup for online index build
  • ora-07844 : sllfop: LIB$GET_VM failure
  • ora-02227 : invalid cluster name
  • ora-06262 : NETNTT: nfconn() failed
  • ora-26101 : tablespace # in file header is string rather than string for file string
  • ora-24128 : partition name specified for a non-partitioned object
  • ora-40001 : value for string must be greater than zero
  • ora-28270 : Malformed user nickname for password authenticated global user.
  • ora-22305 : attribute/method/parameter "string" not found
  • ora-38735 : Wrong log number string in flashback log file header.
  • ora-19567 : cannot shrink file string because it is being backed up or copied
  • ora-26040 : Data block was loaded using the NOLOGGING option
  • ora-19735 : wrong creation SCN - control file expects initial plugged-in datafile
  • ora-30503 : system triggers cannot have a REFERENCING clause
  • ora-16518 : unable to allocate virtual instance id
  • ora-07630 : smpdal: $DELTVA failure
  • 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.