ORA-19163: XP0004 - XQuery type mismatch: argument type mismatch: expected - 'string' got - 'string' for function 'string'

Cause : The type of the arguments that were passed to the given function was not valid.

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

Fix the arguments to be of a type appropriate for the given function.

update : 29-04-2017
ORA-19163

ORA-19163 - XP0004 - XQuery type mismatch: argument type mismatch: expected - 'string' got - 'string' for function 'string'
ORA-19163 - XP0004 - XQuery type mismatch: argument type mismatch: expected - 'string' got - 'string' for function 'string'

  • ora-01551 : extended rollback segment, pinned blocks released
  • ora-07595 : sppid: $GETJPIW failure
  • ora-02064 : distributed operation not supported
  • ora-24181 : The type string does not exist
  • ora-01062 : unable to allocate memory for define buffer
  • ora-12230 : TNS:Severe Network error occurred in making this connection
  • ora-02203 : INITIAL storage options not allowed
  • ora-40221 : maximum target cardinality exceeded
  • ora-12457 : security label exceeded maximum allowable length
  • ora-39157 : error appending extension to file "string"
  • ora-31077 : invalid attribute "string" specified
  • ora-01865 : not a valid era
  • ora-01763 : update or delete involves outer joined table
  • ora-28538 : result set not found
  • ora-33427 : (EIFMAKEF16) CAUTION: NTEXT object workspace object will be exported with type TEXT.
  • ora-13610 : The directive string does not exist for task string.
  • ora-00335 : online log string: No log with this number, log does not exist
  • ora-32813 : propagation schedule string already exists
  • ora-13800 : concurrent DDL failure on SQL repository objects
  • ora-28512 : cannot get data dictionary translations from string
  • ora-09934 : Link of current password file to old failed.
  • ora-29381 : plan/consumer_group string referred to by another plan and cannot be deleted
  • ora-22878 : duplicate LOB partition or subpartition specified
  • ora-02441 : Cannot drop nonexistent primary key
  • ora-06304 : IPA: Message receive error
  • ora-09833 : addCallback: bad message format.
  • ora-26572 : %s.string.string: argument string does not match replication catalog
  • ora-31602 : parameter string value "string" in function string inconsistent with string
  • ora-36692 : (XSRELTBL00) The format of the HIERHEIGHT command is: HIERHEIGHT relation1[(dimension dimvalue, ...)] into relation2 [using relation3 | a | d] [levelorder lovs] [inhierarchy {variable | valueset}].
  • ora-31457 : maximum length of description field exceeded
  • 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.