执行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;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
  • 2021-12-31
  • 2021-06-03
  • 2021-04-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2021-09-11
  • 2021-12-03
  • 2022-12-23
  • 2021-05-31
相关资源
相似解决方案