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 : 23-06-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-12158 : TNS:could not initialize parameter subsystem
  • ora-29872 : parameters clause cannot be combined with the specified options
  • ora-30502 : system triggers cannot have INSERT, UPDATE, or DELETE as triggering events
  • ora-01221 : data file string is not the same file to a background process
  • ora-15197 : suppressing string additional ASM messages
  • ora-27075 : SSTMOFRC constant too large
  • ora-33269 : while operating on 'string'
  • ora-38310 : cannot purge tablespace for other users
  • ora-26683 : invalid value for value_type
  • ora-32153 : Environment not specified
  • ora-10932 : trace name context forever
  • ora-02428 : could not add foreign key reference
  • ora-30734 : cannot specify scope constraint on ref column with rowid
  • ora-28651 : Primary index on IOTs can not be marked unusable
  • ora-01176 : data dictionary has more than the string files allowed by the controlfie
  • ora-13119 : invalid edge_id [string]
  • ora-38455 : Expression Filter index should be created by the owner.
  • ora-01258 : unable to delete temporary file string
  • ora-07432 : unable to perform nested sleep
  • ora-23304 : malformed deferred rpc at arg string of string in call string, in tid string
  • ora-00025 : failed to allocate string
  • ora-06794 : TLI Driver: shadow process could not retrieve protocol info
  • ora-39500 : failed to notify CRS of a Startup/Shutdown event for database "string", instance "string" (ignored)
  • ora-23405 : refresh group number string does not exist
  • ora-09766 : osnmop: buffer allocation failure.
  • ora-00200 : control file could not be created
  • ora-16011 : Archivelog Remote File Server process in Error state
  • ora-24435 : Invalid Service Context specified.
  • ora-14013 : duplicate partition name
  • ora-09702 : sem_acquire: cannot acquire latch semaphore
  • 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.