Skip to content
Advertisement

Tag: sql-server-2016

datetime conversion to Java in SQLServer 2016

I have a scenario where I have a table that has a date field with the datetime property. In the documentation (https://learn.microsoft.com/en-us/sql/connect/jdbc/using-basic-data-types?view=sql-server-ver15) : Note that java.sql.Timestamp values can no longer be used to compare values from a datetime column starting from SQL Server 2016. This limitation is due to a server-side change that converts datetime to datetime2 differently, resulting in

Advertisement