Top "Datediff" questions

Date-difference will give difference in the number of days, months, years etc.

Datediff performance

I have a number of days variable which I want to compare against a datetime column (senddate) . Im currently doing …

sql-server tsql datediff