执行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;
本文共 274 字,大约阅读时间需要 1 分钟。
执行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;
转载于:https://www.cnblogs.com/zbl3033/p/5481778.html