Popular Posts

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

Tuesday, August 8, 2017

Dynamic date range

SQLServerCentral » Latest topics
Dynamic date range
Hi there,
I need to write a query that displays certain data between the first day of the last month and the last day of the last month
For example, once we are in august first i want the range to between '2017-07-01 00:00:00' and '2017-07-31:23:5

No comments: