Created
November 20, 2013 23:04
-
-
Save gtallen1187/7572814 to your computer and use it in GitHub Desktop.
date automatically fast-forwards to the end of the current quarter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
where datediff(day,enc.encounterdate,(dateadd(qq,datediff(qq,0,getdate())+1,0))) between 0 and 365 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
courtesy of the main man matt plunkett