執行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
函數語句中select into語句中WHERE account = userName查出的結果出現2條相同的記錄才報出這個錯誤
SELECT id,last_stamp,token INTO userID,lastStamp2,tokenStr2 FROM game_user WHERE account = userName;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。