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 : 29-06-2017
ORA-22307

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

  • ora-35276 : (SNSYN163) The format of the ALLOCATE command is: ALLOCATE varname [SOURCE svarname] [BASIS bvarname [ACROSS dimname]] [TARGET tvarname [TARGETLOG logvarname]] [ USING aggmap ]
  • ora-25955 : all tables must be joined in the where clause
  • ora-14512 : cannot perform operation on a clustered object
  • ora-12628 : TNS:no event callbacks
  • ora-31447 : cannot create change tables in the SYS schema
  • ora-12983 : cannot drop all columns in a table
  • ora-31505 : cannot alter or drop predefined change set
  • ora-39208 : Parameter string is invalid for string jobs.
  • ora-16590 : Data Guard configuration does not contain a primary database
  • ora-15002 : parameter LOCK_NAME_SPACE exceeds limit of string characters
  • ora-33012 : (XSAGDNGL05) AGGMAP workspace object contains invalid syntax.
  • ora-31163 : element or attribute "string" has invalid attribute value "string" (should be "string")
  • ora-00358 : Too many file members specified, the maximum is string
  • ora-07671 : $IDTOASC failed translating an integrity category
  • ora-01986 : OPTIMIZER_GOAL is obsolete
  • ora-07218 : slkhst: could not perform host operation
  • ora-14117 : partition resides in offlined tablespace
  • ora-19579 : archivelog record for string not found
  • ora-06307 : IPA: Cannot reset connection
  • ora-27452 : %s is an invalid name for a database object.
  • ora-30351 : query rewrite does not currently support this expression
  • ora-37144 : (MDQUERY01) string is not a valid metadata object type for MDQUERY.
  • ora-06119 : NETTCP: spurious client request
  • ora-15201 : disk string contains a valid RDBMS file
  • ora-30338 : illegal dimension hierachy name
  • ora-25240 : message ID and dequeue condition/correlation ID specified in dequeue options
  • ora-24054 : cannot propagate to an Oracle 8.0.3 release or lower release
  • ora-07750 : slemcr: fopen failure
  • ora-40225 : model is currently in use by another process
  • ora-27507 : IPC error disconnecting from a port
  • 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.