本文介绍了时间戳记的默认值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用VS2008.我正在尝试在时间戳中将参数传递给Oracle.
我是这样写的:
I am using VS2008. I am trying to pass parameters to Oracle in parameters in a time-stamp.
I am writing it like this :
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?
推荐答案
这篇关于时间戳记的默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!