ora-01789 query block has incorrect number of result columns

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

               
author:skate
time:2009-06-11

由于自动管理分区的过程速度慢,所以今天在调整自动管理分区的过程时,遇到下面的这个错误
ora-01789:query block has incorrect number of result columns
goole之后,发现
这种问题一般出现在用UNION将若干个select连接到一起,由于select后的列的个数不相等而造成的。

比如
select userid from usercustom
union
select userid,loginname from usercustom


就会报这种错误。

---end---

           

给我老师的人工智能教程打call!http://blog.csdn.net/jiangjunshow

这里写图片描述

猜你喜欢

转载自blog.csdn.net/ffuygggh/article/details/84025494
今日推荐