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
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:
Post a Comment