Home Forums SQL Server 2016 SQL Server 2016 - Development and T-SQL Updating datetime2 column not working RE: Updating datetime2 column not working
ScottPletcher
SSC Guru
Points: 100923
More actions
May 7, 2018 at 3:35 pm
#1989582
Get rid of the dashes in the date, they can cause issues.
UPDATE T_MYTABLE SET dateTransferred = '20180326 05.00.00' where id = 1223
SQL DBA,SQL Server MVP(07, 08, 09) A socialist is someone who will give you the shirt off *someone else's* back.