ORA-19279: XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence

Cause : The XQuery sequence passed in had more than one item.

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

Correct the XQuery expression to return a single item sequence.

update : 23-05-2017
ORA-19279

ORA-19279 - XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence
ORA-19279 - XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence

  • ora-08231 : smscre: unable to attach to SGA
  • ora-19710 : unsupported character set string
  • ora-16020 : less destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST
  • ora-01285 : error reading file string
  • ora-38415 : invalid name or datatype for the attribute: string
  • ora-00227 : corrupt block detected in control file: (block string, # blocks string)
  • ora-02781 : Invalid value given for the timing wanted flag
  • ora-32162 : Read/Write SQL method not registered
  • ora-12436 : no policy options specified
  • ora-38447 : Type required for the embedded ADT attribute "string" is missing
  • ora-28525 : unable to create Heterogeneous Services error message text
  • ora-00203 : using the wrong control files
  • ora-25329 : AQ array operations not allowed on 8.0 queues
  • ora-29951 : warning in the execution of ODCIINDEXSPLITPARTITION routine
  • ora-40205 : invalid setting name string
  • ora-10944 : trace name context forever
  • ora-15201 : disk string contains a valid RDBMS file
  • ora-12674 : Shared server: proxy context not saved
  • ora-17626 : ksfdcre: string file exists
  • ora-30034 : Undo tablespace cannot be specified as temporary tablespace
  • ora-12432 : LBAC error: string
  • ora-29527 : created Java source string"string"
  • ora-01630 : max # extents (string) reached in temp segment in tablespace string
  • ora-25302 : Operation not possible for non-buffered queue string
  • ora-27547 : Unable to query IPC OSD attribute string
  • ora-00407 : rolling upgrade from release string.string to string.string is not allowed
  • ora-29379 : resource plan string is involved in a loop in top-plan string
  • ora-30745 : error occured while trying to add column "string" in table "string"
  • ora-00128 : this command requires a dispatcher name
  • ora-31018 : Error deleting XML document
  • 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.