DateTime2(0) will store the date and time without decimal values. I YYYY-MM-DD hh:mm:ss
SELECT CONVERT(DateTime2(0) , GETDATE()) RESULT: 2015-04-06 20:47:17
Saving data in the same way as dates will store dates ie YYYY-MM-DD without any time values.
SELECT CONVERT(Date , GETDATE()) RESULT: 2015-04-06
If you are only interested in dates, use the DATE data type.
DATETIME2 will use 6 bytes for patches less than 3 , and DATE will use 3 bytes .
The date is half the size of DATETIME (0), therefore, it will also work better, since the sql server will process less data and save disk space.
source share