Get startedGet started for free

Parameters matter with DATEDIFF

How many times, in terms of days, weeks, and months, are the datepart boundaries crossed between the dates 2/26/2018 and 3/3/2018?

This exercise is part of the course

Writing Functions and Stored Procedures in SQL Server

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise