oracle问题,ORA-01843:不是有效月份 [英] oracle issue, ORA-01843: not a valid month

查看:1223
本文介绍了oracle问题,ORA-01843:不是有效月份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有一个oracle问题:



我在我的网络应用程序中使用asp.net + oracle。在我的oracle数据库中,我有一个视图,其中包含

的定义...

名称: view1 例如

hi guys, i have a oracle issue :

i use asp.net + oracle in my web app. in my oracle database, i have a view which contains the definition of
...
name : view1 for example

where 
pro.FIN> to_date('01/11/12') and  
pro.FIN<= to_date('01/11/12') 
group by 



< sql developer中的
我使用



in sql developer i use

select * from view1

它运行良好,但是当我使用c#代码调用的存储过程时,会出现错误: ORA-01843:无效月份

it works well, but when i use stored precedure called by c# code, errors come: ORA-01843: not a valid month

推荐答案

使用 TO_DATE功能 [ ^ ]

FYI where子句中的TO_DATE函数 [ ^ ]


这篇关于oracle问题,ORA-01843:不是有效月份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆