程序操作Oracle数据库时,出现“ORA-01858: a non-numeric character was found where a numeric was expected”错误。

原因是语句中包含“lurudate = TO_DATE('197001ull','yyyymmddhh24mi')”,里面的时间格式不正确。

以后写程序时一定要加强对数据合法性的校验。

相关文章:

  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2021-04-19
  • 2021-05-24
  • 2021-12-23
  • 2021-09-05
猜你喜欢
  • 2021-04-19
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2022-12-23
相关资源
相似解决方案