现在的位置: 首页 > 综合 > 正文

SQL server中DateTime类型字段如何赋值零?

2011年12月13日 ⁄ 综合 ⁄ 共 132字 ⁄ 字号 评论关闭

.net 1.1 不支持Sql Server  datetime字段为空的情况
.net 2.0  开始支持Sql Server datetime字段为空


在不支持datetime为空的情况下,
Sql Server数据库一般是选择一个特定的日期代表空值,默认的情况下,是1900-1-1

【上篇】
【下篇】

抱歉!评论已关闭.