﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Stored Procedure for dashboard / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 12:39:34 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Stored Procedure for dashboard</title><link>http://www.sqlservercentral.com/Forums/Topic1409648-391-1.aspx</link><description>[quote][b]smriti.subramanian (1/22/2013)[/b][hr]Table structure:create table Aid1 int,status intdate created datetime...[/quote]I tried running this in SSMS and it didn't parse. If only we had some valid DDL. Oh well...</description><pubDate>Tue, 22 Jan 2013 06:59:03 GMT</pubDate><dc:creator>toddasd</dc:creator></item><item><title>RE: Stored Procedure for dashboard</title><link>http://www.sqlservercentral.com/Forums/Topic1409648-391-1.aspx</link><description>Table structure:create table Aid1 int,status intdate created datetimetable Bid2 intstatus intdate created datetimetable c id3 intstatus intdate created datetimetable statusiddescriptionThe description field will be like pending, new etc...i need the output as mentioned above..</description><pubDate>Tue, 22 Jan 2013 02:21:44 GMT</pubDate><dc:creator>smriti.subramanian</dc:creator></item><item><title>RE: Stored Procedure for dashboard</title><link>http://www.sqlservercentral.com/Forums/Topic1409648-391-1.aspx</link><description>The "easiest to understand" type of solution is to build a temp table exactly like you want the output to look. Then have individual queries gather the pieces of information and update the temp table as you go along. All of these queries can be wrapped as one in a stored procedure. It's not hard, you just have to break it down into manageable chunks. What have you tried so far? </description><pubDate>Mon, 21 Jan 2013 14:39:52 GMT</pubDate><dc:creator>toddasd</dc:creator></item><item><title>RE: Stored Procedure for dashboard</title><link>http://www.sqlservercentral.com/Forums/Topic1409648-391-1.aspx</link><description>Can you please provide us the table structure so that we can try to solve your problem?Its good practice to provide detailed information so that everyone can understand problem that your are facing.....</description><pubDate>Mon, 21 Jan 2013 11:38:52 GMT</pubDate><dc:creator>kapil_kk</dc:creator></item><item><title>Stored Procedure for dashboard</title><link>http://www.sqlservercentral.com/Forums/Topic1409648-391-1.aspx</link><description>hi,i have three tables A,B,C in which i have datecreated column and status column in all three tables. Status will be like 'New','Pending' etc.....I need to show data in the dashboard like			A            B           CCount of Overdue -New	100	100	100Count of Overdue -Pending	200	200	200Count of Today's-New	200	200	200Count of Today's-Pending	300	300	300Total			800        800         800How can i write stored proc to get values in the above manner? Please help</description><pubDate>Mon, 21 Jan 2013 10:42:49 GMT</pubDate><dc:creator>smriti.subramanian</dc:creator></item></channel></rss>