I have two dates in SQL Server
@dt1 = 2018-03-15 11:12:10
@dt2 = 2018-03-15 11:12:45
I want (@dt1 = @dt2)
This condition should be true.
In short, I want to ignore seconds and only consider date and hours & minutes.
How can I do it in SQL Server??