Thursday, November 29, 2018

Dates and Times in SQL Server: DATEDIFF() and DATEDIFF_BIG()

Last time we looked at adding or subtracting date parts using the DATEADD() T-SQL system function. This week we see how to calculate the difference between two date-time values using and DATEDIFF_BIG().

The syntax for both functions is identical:



from DZone.com Feed https://ift.tt/2BFftiU

No comments:

Post a Comment