ORA-22893: constraint can be specified only for REF columns

Cause : hT eocsnrtiatns epicifded eo son tpalp yotn noR-FEc lomusn.

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

eRomevt ehc notsarni tna derrt yht eporetaoi.n

update : 21-07-2017
ORA-22893

ORA-22893 - constraint can be specified only for REF columns
ORA-22893 - constraint can be specified only for REF columns

  • ora-27201 : skgfpcm: sbtpccommit returned error
  • ora-13364 : layer dimensionality does not match geometry dimensions
  • ora-09943 : Allocation of memory for password list component failed.
  • ora-07417 : sfareq: One or more database writers not active.
  • ora-23312 : not the masterdef according to string
  • ora-14051 : invalid ALTER MATERIALIZED VIEW option
  • ora-12029 : LOB columns may not be used as filter columns
  • ora-13613 : The requested operation is not supported for this advisor object.
  • ora-07759 : slemtr: invalid destination
  • ora-01917 : user or role 'string' does not exist
  • ora-02815 : Unable to attach shared memory
  • ora-16654 : Fast-Start Failover is enabled
  • ora-02330 : datatype specification not allowed
  • ora-16193 : Primary and standby network encryption mismatch
  • ora-01629 : max # extents (string) reached saving undo for tablespace string
  • ora-24763 : transaction operation cannot be completed now
  • ora-32809 : foreign queue string is already registered
  • ora-19276 : XP0005 - XPath step specifies an invalid element/attribute name: (string)
  • ora-16784 : the database name in Dependency property is incorrect
  • ora-13917 : Posting system alert with reason_id string failed with code [string] [string]
  • ora-38758 : cannot flashback data file string; restored since last recovery
  • ora-13498 : %s
  • ora-28174 : Kerberos ticket not provided by proxy
  • ora-30183 : invalid field width specifier
  • ora-08106 : cannot create journal table string.string
  • ora-14062 : one or more of table's partitions reside in a read-only tablespace
  • ora-29906 : indextype string.string does not exist
  • ora-25473 : cannot store string in rule action context
  • ora-22887 : type of REF column is not the same as that of its scoped table
  • ora-22951 : NULL returned by ORDER method
  • 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.