Viewing 7 posts - 1 through 7 (of 7 total)
This works fine now. Thank you very much for the help.
I greatly appreciate this. this will solve my problem.
May 28, 2013 at 1:59 pm
Here is the code:
SELECTRIGHT(CONVERT(VARCHAR, CCD.startDateTime , 105), 7) AS startmonth,
SUM( CASE WHEN CCD.contactDisposition = 1 THEN 1 ELSE 0 END ) AS Abandoned,
SUM( CASE WHEN CCD.contactDisposition = 2...
May 28, 2013 at 1:41 pm
This works as long as you are with in one year.
If it is more than one year then the data will output as:
Jan-2011,
Jan 2012,
Feb-2011.
Feb-2012,
In this case I want the data...
May 28, 2013 at 1:36 pm
I will try this way and see.
May 28, 2013 at 10:20 am
If I try order by month( startdatetime) then it sorts the data by month.
The problem here is when the data spans to multiple years then it will sort as follows:
Jan...
May 28, 2013 at 9:51 am
If I use like above suggestion then I will not get the sum which is grouped by the month
May 28, 2013 at 9:19 am
Thank you all very much for instant response. It works fine
May 28, 2013 at 8:59 am
Viewing 7 posts - 1 through 7 (of 7 total)