Viewing 2 posts - 1 through 2 (of 2 total)
I'm curious to know if the 'ON' predicate will behave the same as the 'WHERE' statement in all cases described in the article?
February 28, 2008 at 6:25 am
#783125
If you convert your @varDate local to a smalldatetime local before using it in the SELECT statement you can do a straight comparison of the local variable and the table...
February 28, 2008 at 6:13 am
#783118