摘要: 若字段定义的类型为datetime,插入为''(空),那么会默认值为1900-01-01 00:00:00.000 解决方法查询的时候过滤下cast(nullif('','') as datetime) select cast('' as datetime) , cast(nullif('','') 阅读全文
posted @ 2021-02-18 17:53 BloggerSb 阅读(644) 评论(0) 推荐(0)