时间戳记的默认值 [英] Default value of timestamp

查看:377
本文介绍了时间戳记的默认值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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?

推荐答案

最小值和最大值为:

0001-01-01.01.00.00.000.00.000000

9999-12-31.24.00.00.000000
Min and Max values are:

0001-01-01.01.00.00.00.000000

9999-12-31.24.00.00.000000


这篇关于时间戳记的默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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