首页 > 数据库技术 > 详细

Mysql报错:1172 - Result consisted of more than one row

时间:2016-05-11 15:14:56      阅读:551      评论:0      收藏:0      [点我收藏+]

执行mysql函数时报错:1172 - Result consisted of more than one row

 

函数语句中select into语句中WHERE account = userName查出的结果出现2条相同的记录才报出这个错误

SELECT id,last_stamp,token INTO userID,lastStamp2,tokenStr2 FROM game_user WHERE account = userName;

Mysql报错:1172 - Result consisted of more than one row

原文:http://www.cnblogs.com/zbl3033/p/5481778.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!