My server has
System Locale en-gb; English (United Kingdom)
Input Locale en-gb; English (United Kingdom)
SQL account @@language is British
I can insert the value '2013-01-18 16:05:21.683' into a DATETIME2 field but when trying to insert the same value into a DATETIME field I get the following error
Msg 242, Level 16, State 3, Line 1The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
I can insert the value '2013-01-18T16:05:21.683' into the datetime field OK.
Why does it allow the insert into datetime2 but not datetime?
Thanks