2021-09-15
语句错误提示为literal does not match format string
解决方案:
select * from tablename t where t.endtime>to_date(‘2008080100:00:00’,‘yyyymmddhh24:mi:ss’)
系统的日期格式,不对
to_date(‘2008-08-01 00:00:00’,‘yyyy-mm-dd hh24:mi:ss’)
可以用select sysdate from dual,查看一下日期的格式
设置alter




