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-05-2017

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

  • ora-01199 : file string is not in online backup mode
  • ora-28046 : Password change for SYS disallowed
  • ora-16810 : multiple errors or warnings detected for the database
  • ora-25402 : transaction must roll back
  • ora-32631 : illegal use of objects in MODEL
  • ora-02236 : invalid file name
  • ora-16628 : the broker protection mode is inconsistent with the database setting
  • ora-01409 : NOSORT option may not be used; rows are not in ascending order
  • ora-22850 : duplicate LOB storage option specificed
  • ora-01531 : a database already open by the instance
  • ora-39211 : unable to retrieve dumpfile information as specified
  • ora-28138 : Error in Policy Predicate
  • ora-31523 : could not find change source string for CDC change set string
  • ora-22371 : Table contains data of type string.string, version string, which does not exist
  • ora-36685 : (XSDPART23) Only CONCAT partition templates can be subpartitioned.
  • ora-02800 : Requests timed out
  • ora-25254 : time-out in LISTEN while waiting for a message
  • ora-12482 : internal MLS error: string Error: string
  • ora-06256 : NETNTT: remote fork failed
  • ora-38409 : invalid name or option for the attribute set: string
  • ora-24198 : attempt to use an invalid operation ID
  • ora-28180 : multiple authentication methods provided by proxy
  • ora-12213 : TNS:incomplete PREFERRED_CMANAGERS binding in TNSNAV.ORA
  • ora-13249 : %s
  • ora-14102 : only one LOGGING or NOLOGGING clause may be specified
  • ora-40214 : duplicate setting: string
  • ora-28331 : encrypted column size too long for its data type
  • ora-31675 : worker process interrupt for unexpected death of master process
  • ora-00334 : archived log: 'string'
  • ora-02720 : osnfop: shmat failed
  • 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.