|
|
|
|
|
by ThePadawan
2080 days ago
|
|
Note that only happens using the DATETIME data type. As long as I remember, the documentation for DATETIME [0] has had a disclaimer at the top to not use it, but use DATETIME2 instead. Of course, that doesn't excuse older systems, but this is an issue that can be avoided for new work. [0] https://docs.microsoft.com/en-us/sql/t-sql/data-types/dateti... |
|
Of course when maintaining the rust crate for mssql, implementing support for these old types was necessary and I had some wtf moments. Another interesting one is the smalldatetime, and the biggest annoyance the division to varchar and nvarchar -- the n-variants of cource using ucs2 to store the data.
This only changed in the 2019 version, where one can use varchar to store utf8 data with a special collation.
Still prefer mssql over mysql, any day.