The used SELECT statements have a different number of columns???

Posted coderJiao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The used SELECT statements have a different number of columns???相关的知识,希望对你有一定的参考价值。

今天我们组就我一个人留守在这里修复bug了,有点小悲伤啊,他们都问我能不能hold得住啊,我当然能hold得住啊;

在看一个入库的存储过程中,在数据库运行的时候是没问题的,项目已启动,进行入库操作就是报错,

The used SELECT statements have a different number of columns

顾名思义,就是你选择的列和你得到的列的烈数不一致,然后就去看存储过程,找呀找,找到了,是我自己太粗心了,之前多加了一个列,忘记删掉了;

SELECT `status`, order_type, in_store_id, organ_id, oder_no into inOderStatus_, inOderType_, inOderInStoreId_, inOderOrganId_, inOderNo_ from wm_in_order where id = _inOderId; 

特别是这种 select into  的语句,前后烈数要一致,还要按顺序,嗯,又要去修复bug了~  下次聊 

 

 

 

以上是关于The used SELECT statements have a different number of columns???的主要内容,如果未能解决你的问题,请参考以下文章

R语言连接MySQL报错:could not run statement: The used command is not allowed with this MySQL version

PB data window 窗口报错提示:an arggument used in the select is not defined 为啥会报错,怎么解决

MyBatis报错:A query was run and no Result Maps were found for the Mapped Statement

MyBatis报错:A query was run and no Result Maps were found for the Mapped Statement

MyBatis报错:A query was run and no Result Maps were found for the Mapped Statement

Android Stdudio 打包Apk签名时出现状态窗口报错提示:Please select at least one of the signature versions to use