ORA-02440: Create as select with referential constraints not allowed

Cause : createt able foo (... erf. con ....) a sselect. ..;

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

Createt he tabel as seelct, thne altert he tabel to ad dthe cosntraint safterwrads.

update : 27-04-2017

ORA-02440 - Create as select with referential constraints not allowed
ORA-02440 - Create as select with referential constraints not allowed

  • ora-02259 : duplicate UNIQUE/PRIMARY KEY specifications
  • ora-16416 : Switchover target is not synchronized with the primary
  • ora-20000 : %s
  • ora-37042 : (XSACQUIRE_DEP_DEADLOCK) Cannot wait to acquire composite, concat, dimension map, or internal partition workspace object since doing so would cause a deadlock.
  • ora-13518 : Invalid database id (string)
  • ora-36834 : (XSLMGEN04) Column tag is greater than 30 bytes
  • ora-00153 : internal error in XA library
  • ora-30104 : 'string' is not a legal integer for 'string'
  • ora-01354 : Supplemental log data must be added to run this command
  • ora-36676 : (XSDPART14) Missing dimension list for string.
  • ora-36885 : (XSSRF04) Error rewriting OLAP DML expression. Column name too big
  • ora-30940 : Cannot resolve prefix 'string' for QName node 'string'
  • ora-01665 : control file is not a standby control file
  • ora-19504 : failed to create file "string"
  • ora-22343 : Compilation error for type invalidated by ALTER TYPE
  • ora-24039 : Queue string not created in queue table for multiple consumers
  • ora-00912 : input parameter too long
  • ora-13044 : the specified tile size is smaller than the tolerance
  • ora-00073 : command string takes between string and string argument(s)
  • ora-26504 : operation not implemented
  • ora-33998 : (MODCOMP12) You cannot use both workspace object and workspace object as model dimensions, because workspace object is a surrogate of workspace object.
  • ora-03281 : invalid ALLOCATE EXTENT option
  • ora-01206 : file is not part of this database - wrong database id
  • ora-12422 : max policies exceeded
  • ora-23600 : cannot create PROPAGATION, string already exists
  • ora-02836 : Unable to create temporary key file
  • ora-12600 : TNS: string open failed
  • ora-09856 : smpalo: vm_allocate error while allocating pga.
  • ora-16107 : all log data from primary has been processed
  • ora-32026 : %s.string has fewer columns compared to string table.
  • 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.