文档解释 ORA-00962: too many group-by / order-by expressions Cause: The group-by or order-by column list contain more than 1
ORA-00962: too many group-by / order-by expressions
Cause: The group-by or order-by column list contain more than 1000 expressions.
Action: Use 1000 or less expressions in the group-by or order-by list.
ORA-00962错误,也称为“太多的GROUP BY / ORDER BY表达式”,出现在GROUP BY或ORDER BY子句中。这意味着用户指定分组或排序表达式的数量超过其所使用的数据库版本所允许的数量。
SELECT student_id, batch, section,rank FROM student ORDER BY student_id, batch,section,rank;
1.检查所用的sql语句,检查ORDER BY子句中的表达式的数量是否大于所用的数据库的允许的最大表达数。
2.仔细检查ORDER BY子句中的表达式,确保没有多余的或重复的表达式。
3.删除ORDER BY子句中多余的表达式,直到表达式数目低于所允许的最大表达数。
4.重新提交SQL语句,核对是否可以正常工作。
--结束END--
本文标题: ORA-00962: too many group-by / order-by expressions ORACLE 报错 故障修复 远程处理
本文链接: https://www.lsjlt.com/news/540739.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0