Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Dynamic date range

$
0
0
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

Viewing all articles
Browse latest Browse all 3145

Trending Articles