问题解决:Warning: (1292, "Truncated incorrect DOUBLE value: '[email protected]                      '")报错,但在Navicat 执行正确

Warning: (1292, "Truncated incorrect DOUBLE value: '[email protected] '")

Navicat 执行结果:

sql = "select phone,captcha from uc_captchas where phone = 13696985962 "

Warning: (1292, "Truncated incorrect DOUBLE value: '[email protected] '")

百度查询原因是sql写的问题,

修改后sql:

sql = "select phone,captcha from uc_captchas where phone = '13696985962' ",执行结果正确

Warning: (1292, "Truncated incorrect DOUBLE value: '[email protected] '")

 

相关文章:

  • 2022-12-23
  • 2021-08-27
  • 2021-06-13
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2021-10-16
相关资源
相似解决方案