Home Forums SQL Server 2008 T-SQL (SS2K8) substituate the hour part of a datetime field RE: substituate the hour part of a datetime field
serg-52
SSCrazy Eights
Points: 9913
More actions
April 28, 2015 at 7:58 am
#1793941
The first one has a little problem.
DECLARE @dt DATETIME = '2014-04-09 23:59:59.000';
...