Oracle 异常 ORA-01861: literal does not match format string(字符串格式不匹配)
来源:互联网 发布:python talib macd 编辑:程序博客网 时间:2024/05/01 00:24
如果直接按照字符串方式,或者,直接使用'2007-12-28 10:07:24',没有指定日期格式,就会报错:ORA-01861: 文字与格式字符串不匹配
必须指定日期格式
正确
SELECT D261 as ename,GENTIME,D267 FROM UNITE.UPR_C2_NE_VENDOR T
where T.GENTIME<to_date('2009-03-18 17:03:00' , 'yyyy-mm-dd hh24:mi:ss')
如果数据库字段是DATE类型,而使用的是字符类型操作出现此异常
- Oracle 异常 ORA-01861: literal does not match format string(字符串格式不匹配)
- Oracle 异常 ORA-01861: literal does not match format string(字符串格式不匹配)
- 解决:Oracle 异常 ORA-01861: literal does not match format string(字符串格式不匹配)
- 解决Oracle异常ORA-01861:literal does not match format string(字符串格式不匹配)
- Oracle异常ORA-01861:literal does not match format string(字符串格式不匹配)
- oracle学习笔记【 ORA-01861: literal does not match format string(字符串格式不匹配)】
- Oracle异常ORA-01861: literal does not match format string。
- Oracle 异常 ORA-01861: literal does not match format string
- ORA-01861: literal does not match FORMat string 错误原因
- ORA-01861: literal does not match format string 错误!
- ORA-01861: literal does not match format string
- 关于ORA-01861: literal does not match format string
- Oracle 异常 ORA-01861: literal does not match form
- 关于时间比较,ORA-01861: literal does not match format string
- literal does not match format string 解决办法
- literal does not match format string
- Weblogic&oracle 异常 ORA-01861: 文字与格式字符串不匹配
- SQL-Oracle异常--java.sql.SQLDataException: ORA-01861: 文字与格式字符串不匹配
- ajax检测用户名
- 关于iOS app的设备方向支持的问题
- Python Library: itertools
- MongoDB vs Redis vs Tokyo Tyrant
- 迫不及待的和大家分享iOS下的正则表达式类库的心得!
- Oracle 异常 ORA-01861: literal does not match format string(字符串格式不匹配)
- JS与Flex交互的几点注意事项
- C标准指定的一些预定义宏(包括日期,文件名等信息的宏)
- UITableView使用自定义cell的例子
- 今目标企业工作平台
- Android上dip、dp、px、sp等单位说明
- s3c2440硬件学习笔记----存储控制器
- Choose the second one
- 创建iOS 5 News Stand应用程序之一 外观