Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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
SQL
where 
pro.FIN> to_date('01/11/12') and  
pro.FIN<= to_date('01/11/12') 
group by 


in sql developer i use
SQL
select * from view1
it works well, but when i use stored precedure called by c# code, errors come: ORA-01843: not a valid month
Posted
Updated 14-Oct-13 4:42am
v4

1 solution

 
Share this answer
 
Comments
v03051435 14-Oct-13 11:02am    
@thatraja, i dont understand which place should be modified, in my oracle, statement works well, but in my calling of stored precedure, dont work...
thatraja 14-Oct-13 11:20am    
Mention the format along with date value.
Example : TO_DATE('01/01/2013','MM/DD/YYYY')

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900