一、报错截图如下:
- 如果对Oracle语言设置设定为使用12小时的时间,这个问题就会在转换24小时的时间格式时发生此错误。
- 在hh后增加24,格式如下:
- to_date(‘2021-03-17 20:30:00’ ‘yyyy-MM-dd hh24:mi:ss’)