aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

LPX-01129: [XUST0001] Updating expression in a wrong position

LPX-01129: [XUST0001] Updating expression in a wrong position
Cause: It is a static error if an updating expression is used in any position other than one of the following:
1. The topmost expression in the body of a query.

2. The modify clause of a transform expression.

3. The return clause of a FLWOR expression.

4. The return clauses of a typeswitch expression in which every return clause contains an updating expression, an empty expression ( ), or a call to the fn:error function.

5. The then and else clauses of a conditional statement in which both the then and else clauses contain either an updating expression, an empty expression ( ), or a call to the fn:error function.

6. An operand of a comma expression in which each operand is either an updating expression, an empty expression ( ), or a call to the fn:error function.

7. The content of a parenthesized expression.

8. The body of a function declaration in which the keyword updating is specified.

Action: None

请先 登录 后评论

1 个回答

小智
LPX-01129:[XUST0001]更新表达式在错误的位置,
.原因:如果更新表达式用于除以下之一以外的任何位置,则是静态错误:,
.1.查询的正文中最顶端的表达式。,
.,
.2.转换表达式的modify子句。,
.,
.3. FLWOR表达式的return子句。,
.,
.4.类型开关表达式的返回子句,其中每个返回子句包含更新表达式,空表达式()或对fn:error函数的调用。,
.,
.5.条件语句的then和else子句,其中then和else子句都包含更新表达式,空表达式()或对fn:error函数的调用。,
.,
.6.一个逗号表达式的操作数,其中每个操作数是更新表达式,空表达式()或对fn:error函数的调用。,
.,
.7.括号表达式的内容。,
.,
.8.指定关键字更新的函数声明的正文。,
.,
.行动:无,
.
请先 登录 后评论