aiaiDBA

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

13718043309

010-86462881

QSM-02140: agg(expr) requires correspondng SUM(expr*expr) function

QSM-02140: agg(expr) requires correspondng SUM(expr*expr) function
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the SUM function on the square of the same argument (the argument multiplied by itself).
Action: Add the SUM function on the square of the argument.

请先 登录 后评论

1 个回答

小智
QSM-02140:agg(expr)需要对应的SUM(expr * expr)函数,
.原因:当实例化视图使用某些聚合函数但省略在同一个参数的平方(该自变量自身)的SUM函数的调用时,不支持该问题的能力。,
.操作:在参数的平方上添加SUM函数。,
.
请先 登录 后评论