Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Wednesday, September 27, 2017

How to find the year to date value for a given date

SQLServerCentral » Latest topics
How to find the year to date value for a given date
I want to write a query to calculate the year to date value for a given date:
Example: If the given orderdate is 9/18/2015,
I want the year to date range to be between 1/1/15 - 9/18/15. 
I am writing a query where it is filtered by OrderD

No comments: