gpt4 book ai didi

.net - 什么是datetime2?

转载 作者:行者123 更新时间:2023-12-03 10:13:44 24 4
gpt4 key购买 nike

我已经在SQL 2008的INSERT语句中得到了这个

System.Data.SqlClient.SqlException: The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.

最佳答案

Defines a date that is combined with a time of day that is based on 24-hour clock. datetime2 can be considered as an extension of the existing datetime type that has a larger date range, a larger default fractional precision, and optional user-specified precision.



http://technet.microsoft.com/en-us/library/bb677335.aspx

关于.net - 什么是datetime2?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/655745/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com