Quantcast
Channel: Microsoft Dynamics RMS Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4248

sales all days in the month from 6 Am to 6 Am

$
0
0

I hope to assist to make report to call sales days of the month 

from 6:00 until 6:00 the next day by the month 
To be the result of the report, such as the attached form

-----------------------------------------------------------------------

select @time1 = '2015-07-01  06:00:00'
select @time2 = '2015-08-01  06:00:00'

result

 

DateTOTAL
01/07/20152234
02/07/20152245
03/07/20152256
04/07/20152267
05/07/20152278
06/07/20152289
07/07/20152300
08/07/20152311
09/07/20152322
10/07/20152333
11/07/20152344
12/07/20152355
13/07/20152366
14/07/20152377
15/07/20152388
16/07/20152399
17/07/20152410
18/07/20152421
19/07/20152432
20/07/20152443
21/07/20152454
22/07/20152465
23/07/20152476
24/07/20152487
25/07/20152498
26/07/20152509
27/07/20152520
28/07/20152531
29/07/20152542
30/07/20152553
31/07/20152564

 


Viewing all articles
Browse latest Browse all 4248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>