SARGable DateTime Handling in SQL Server
I can’t believe I never thought of doing things this way before. It’s so much better than concatenating strings and converting back and forth between varchar, int and datetime. I’d like to thank Marc for posting this jewel. Here’s the link to the original »