You must know this one #sql #sqlserver #dba #data #ssms #dataengineer #usa #developer #dataanalysis

preview_player
Показать описание
Great function to use in reports and not only there .

DATEDIFF(DATEPART, STARTDATE, ENDDATE) - This function returns the count (as a signed integer value) of the specified datepart boundaries crossed between the specified startdate and enddate.
Рекомендации по теме
Комментарии
Автор

Why is the age in hours and not years?

dragoshlcrn