This is my query. That show me results as described in the screen shot. Now i want to change it so it show me statues of the month in columns.
DECLARE @temp
You can make use of dynamic PIVOT approach shown in this post http://beyondrelational.com/blogs/madhivanan/archive/2008/08/27/dynamic-pivot-in-sql-server-2005.aspx