首页 / 数据库 / MySQL / ORA-01861: literal does not match format string
遇到这个错误 ORA-01861: literal does not match format string语句是between ‘time1’ and ‘time2’查询出来是ORA-01861: 文字与格式字符串不匹配解决方法to_date("time1" , "yyyy-mm-dd hh24:mi:ss")或者比较时间也可以将数据的时间字段to_char("time1","yyyy-mm-dd hh24:mi:ss").变成字符串,再去按字符串比较.当然你的字符串"time1"也要to_char(to_date("time1","yyyy-mm-dd hh24:mi:ss"),"yyyy-mm-dd hh24:mi:ss").再次MARK,以免下次再次忘记。。。Oracle怎么更改用户名MySQL使用connector C/C+读取二进制字段相关资讯 Oracle错误代码 ORA-01861
Oracle错误代码大全 (02/16/2015 21:31:57)
Oracle Grid Control OUI-25031错 (03/09/2013 09:01:36)