Home >Database >Mysql Tutorial >Sql Server datetime问题

Sql Server datetime问题

WBOY
WBOYOriginal
2016-06-07 17:57:47886browse

SQL SERVER数据库用datetime类型的时候 需要注意的地方

SQL SERVER数据库用datetime类型的时候
如果插入NULL,没有问题
如果插入空串"",就会默认1900-01-01 00:00:00
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn