T-SQL:
1(ANSI): convert(varchar(10),@DueDate, 102) < convert(varchar(10),getdate(), 102)
2(USA): convert(varchar(10),@DueDate, 101) < convert(varchar(10),getdate(), 101)
Notice that these will return different results when year is considered.
Why?
What's the difference? Why isn't the operator taking year into consideration when using #2?