-16080 AN XQUERY EXPRESSION INCLUDES ONE OR MORE expression-type EXPRESSIONS OUTSIDE THE XQUERY-UPDATE-CONSTANT OF AN XMLMODIFY FUNCTION. ERROR QNAME=err:XUST0001.
Explanation
A basic updating expression is specified in an expression that is not part of the xquery-update-constant of an XMLMODIFY FUNCTION. At least one expression of the type indicated by the code results in an updating expression in a context where only a non-updating expression can be specified.
- expression-type
- The type of expression.
System action
The XQuery expression cannot be processed.
Programmer response
Remove the expression that is indicated by expression-type and any other basic updating expressions from any expression that is not contained in the xquery-update-constant of an XMLMODIFY function.
SQLSTATE
10701