In my query I am comparing two dates in the WHERE clause
once using CONVERT:
CONVERT(day,InsertedOn) = CONVERT(day,GETDATE())
and another using DATEDIFF:
DATEDIFF(day,InsertedOn,GETDATE()) = 0
Here are the execution plans
The datatype of InsertedOn is datetime.
Which one is more optimized?

