ITeye博客

ORA-01830: date format picture ends before converting entire input string

cherryQQ · 2010-08-19 11:43 · oracle spring · 数据库 · Markdown

今天在调试存储过程时报这样的错误:校验异常: ORA-01830: date format picture ends before converting entire input string

 

 

经过查找发现,
SELECT to_date('2010-08-19 18:05:09','yyyy-mm-dd') FROM dual;

 

这样的格式是不允许的,经过修改为:

SELECT to_date('2010-08-19','yyyy-mm-dd') FROM dual;

 

问题解决

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。