SQLServerCentral » Latest topics
Expression needed for Midnight of previous day
How to get expression for yesterday and day before so that the time stamp resets *exactly to midnight*?
I have
Yesterday gives 6/18/2017 10:04:10 AM *need 6/18/2017 12:00:00 AM*
@[User::ToDate] = (DT_DATE) DATEADD("DAY",-
I have
Yesterday gives 6/18/2017 10:04:10 AM *need 6/18/2017 12:00:00 AM*
@[User::ToDate] = (DT_DATE) DATEADD("DAY",-
No comments:
Post a Comment