Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using VS2008. I am trying to pass parameters to Oracle in parameters in a time-stamp.
I am writing it like this :
C#
parameter[0] = new OracleParameter("V_StartDate", OracleDbType.TimeStamp);
parameter[0].Value = "0000-01-01 00:00:00"

But error comes :
day of month should be between 1st and last day of the month.

What kind of error is this? How can I set the default value of time-stamp?
Posted
Updated 17-Feb-12 8:47am
v2
Comments
André Kraak 17-Feb-12 14:48pm    
Edited question:
Added pre tags
Spelling/Grammar
shikhar gilhotra 17-Feb-12 14:52pm    
"26-JUN-03 11.16.36.000000 AM"


this is also not working..

1 solution

Min and Max values are:

0001-01-01.01.00.00.00.000000

9999-12-31.24.00.00.000000
 
Share this answer
 

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