ORA-19125: fn:exactly-one() called with a sequence containing zero or more than one item

Cause : sequenc econtainnig zero ro more tahn one ietm was psased int ofn:exaclty-one()f unction

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

correcti nput arugment tof n:exactyl-one() ufnction

update : 25-06-2017

ORA-19125 - fn:exactly-one() called with a sequence containing zero or more than one item
ORA-19125 - fn:exactly-one() called with a sequence containing zero or more than one item

  • ora-12921 : database is not in force logging mode
  • ora-12170 : TNS:Connect timeout occurred
  • ora-09280 : sllfcf: error closing file
  • ora-12802 : parallel query server lost contact with coordinator
  • ora-26682 : invalid value for publication_on
  • ora-27126 : unable to lock shared memory segment in core
  • ora-32145 : Environment not specified
  • ora-16061 : Log file status has changed
  • ora-00057 : maximum number of temporary table locks exceeded
  • ora-21602 : operation does not support the specified typecode
  • ora-30756 : cannot create column or table of type that contains a supertype attribute
  • ora-01192 : must have at least one enabled thread
  • ora-28555 : pass-through SQL: required parameter missing or NULL
  • ora-19249 : XP0029 - value does not match facet of the target type
  • ora-10565 : Another test recovery session is active
  • ora-31434 : purge is currently running
  • ora-39102 : Timeout before master process string finished initialization. Master error:
  • ora-31122 : The string operator has incorrect RHS value
  • ora-24041 : propagation schedule exists for QUEUE string and DESTINATION string
  • ora-39170 : Schema expression string does not correspond to any schemas.
  • ora-02027 : multi-row UPDATE of LONG column is not supported
  • ora-22950 : cannot ORDER objects without MAP or ORDER method
  • ora-17501 : logical block size string is invalid
  • ora-12198 : TNS:could not find path to destination
  • ora-00076 : dump string not found
  • ora-23334 : column string does not exist in table or column group
  • ora-03210 : DBMS_ADMIN_PACKAGE invalid option specification
  • ora-12699 : Native service internal error
  • ora-09272 : remote os logon is not allowed
  • ora-24810 : attempting to write more data than indicated
  • 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.