Skip to content

Instantly share code, notes, and snippets.

@gtallen1187
Created November 20, 2013 23:04
Show Gist options
  • Select an option

  • Save gtallen1187/7572814 to your computer and use it in GitHub Desktop.

Select an option

Save gtallen1187/7572814 to your computer and use it in GitHub Desktop.
date automatically fast-forwards to the end of the current quarter
where datediff(day,enc.encounterdate,(dateadd(qq,datediff(qq,0,getdate())+1,0))) between 0 and 365
@gtallen1187

Copy link
Copy Markdown
Author

courtesy of the main man matt plunkett

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment