I have two tables where column [date] is type of DATETIME2(0).
[date]
DATETIME2(0)
I have to compare two records only by theirs Date parts (day+month+year), di
You can try this one
CONVERT(DATE, GETDATE()) = CONVERT(DATE,'2017-11-16 21:57:20.000')
I test that for MS SQL 2014 by following code
select case when CONVERT(DATE, GETDATE()) = CONVERT(DATE,'2017-11-16 21:57:20.000') then 'ok' else '' end