C#.Net与SQLServer时间范围的最小值最大值
C#.Net Framewrok:
DateTime.MinValue = 0001/01/01 00:00:00
DateTime.MaxValue = 9999/12/31 23:59:59.999
SqlDateTime.MinValue.Value = 1753/01/01 00:00:00
SqlDateTime.MaxValue.Value = 9999/12/31 23:59:59.997
SQL Server 2005:
DateTime 最小值 = 1753/01/01 00:00:00
DateTime 最大值 = 9999/12/31 23:59:59.997
SmallDateTime 最小值 = 1900/01/01 00:00:00
SmallDateTime 最大值 = 2079.6.6