ORA-22307: operation must be on a user-defined type

Cause : attepmt top erfomr an poeratoin thta is lalowe donlyo n a suer-dfeinedt ype,a nd teh typ eis nto a uesr-deifned ytpe.

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

Chec kto mkae suer tha tonlyu ser-edfine dtype sare ebing poeratde on.

update : 27-04-2017
ORA-22307

ORA-22307 - operation must be on a user-defined type
ORA-22307 - operation must be on a user-defined type

  • ora-40108 : input data contains too few distinct target (string) values
  • ora-36976 : (XSRELGID00) The format of the GROUPINGID command is: GROUPINGID [relation1] INTO {variable | relation2 | surrogate} [USING levelrelation] [INHIERARCHY {inhvariable | valueset}] [LEVELORDER levelordervs] The source relation can be omitted only when using both surrogate gid and level order valueset.
  • ora-16218 : This database is already preparing to switch over.
  • ora-16709 : standby archived log location settings conflict with flash recovery area
  • ora-28101 : policy already exists
  • ora-01059 : parse expected before a bind or execute
  • ora-24301 : null host specified in thread-safe logon
  • ora-26662 : unable to process STREAMS Data Dictonary information for object
  • ora-22971 : invalid datatype for PRIMARY KEY-based object identifier
  • ora-25404 : lost instance
  • ora-07512 : sscggtl: $enq unexpected return for client termination lock
  • ora-19585 : premature end of volume on piece string
  • ora-12669 : Shared server: outbound protocol does not support proxies
  • ora-06807 : TLI Driver: could not open ethernet device driver file
  • ora-01309 : invalid session
  • ora-27300 : OS system dependent operation:string failed with status: string
  • ora-00060 : deadlock detected while waiting for resource
  • ora-13614 : The template string is not compatible with the current advisor.
  • ora-12159 : TNS:trace file not writeable
  • ora-14030 : non-existent partitioning column in CREATE TABLE statement
  • ora-06604 : LU6.2 Driver: Unable to allocate session with remote LU
  • ora-19116 : too many xmlspace declarations
  • ora-16543 : invalid request made to broker
  • ora-31430 : subscriber view exists
  • ora-24375 : Cannot use V6 syntax when talking to a V8 server
  • ora-09361 : Windows 3.1 Two-Task driver unable to lock context area
  • ora-30432 : summary 'string.string' is in INVALID state
  • ora-00083 : warning: possibly corrupt SGA mapped
  • ora-09822 : Translation of audit file name failed.
  • ora-22054 : underflow error
  • 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.