Hello All,
Iam trying to convert the query to weekly range what iam doing wrong
DATEADD
(WW, DATEDIFF(W,1,Otr.START_DATETIME),0)
My results like now when passing the dates
'1/11/2011' to
'12/31/2011'
Date Data
2677-03-05 00:00:00.000 17983.880000000000
2677-03-12 00:00:00.000 18927.590000000000
2677-03-19 00:00:00.000 18246.410000000000
2677-03-26 00:00:00.000 18632.550000000000
2677-04-02 00:00:00.000 18911.180000000000
Thanks
hameed