I'm modifying a few queries to make them more efficient and have had success using the following technique.
Instead of manually changing the dates each time I run this, I've just used DATEADD and am now subtracting days.
It works great on every qu
Instead of manually changing the dates each time I run this, I've just used DATEADD and am now subtracting days.
It works great on every qu