SIGN UP MEMBER LOGIN:    
ARTICLE

SQL Reporting Service And Business Intelligence Development Studio With Stored Procedure

Posted by Keyur Chauhan Articles | SQL July 17, 2011
Below is step by step illustration of creating a “Raw material stock closing report” using SQL reporting service and Business Intelligence Development studio with stored procedure.
Reader Level:

The following is a step by step illustration of creating a "Raw material stock closing report" using SQL Reporting Services and Business Intelligence Development Studio with a stored procedure.

Create an SQL report as described in the initial steps of the following article "Using report service and Server Business Intelligence Development":

http://www.c-sharpcorner.com/UploadFile/keyurc/1095/
 


SQLReporting1.gif

Now we will configure a data source.

In the Report Data panel, click on "New">>"Data Source".

SQLReporting2.gif

Now click on New>>Data Set.

Select "Stored procedure" and click on the "Query Designer ...".

SQLReporting3.gif

Write down the SP name and click on the "Query designer . . .".
 


SQLReporting4.gif

Execute the stored procedure in the query designer. This will help the wizard to identify the parameters of the Stored Procedure (if any) and the schema of the returned table (fields of the dataset).
 

SQLReporting5.gif

Choose the query parameter value if required.
 

SQLReporting6.gif

Select fields if required (mostly it is mapped correctly if we execute SP in the query designer as mentioned in the above step.)
 

SQLReporting7.gif

Click on OK to save the dataset property and close the popup.

Now add a table object in the report.

SQLReporting8.gif

Drag fields from the data source in the report data to the table. Also add a total field.

SQLReporting9.gif

Using the format menu, you can format the reports. I have added color for the header of the report.

SQLReporting10.gif

We can also set some custom properties like Number format for quantity should be 12345.000 (as quantity can be 5.750 KG also), alignment, font style, border, color.

SQLReporting11.gif

SQLReporting12.gif

Hit the Run button, enter the input parameters and the report is generated. You can publish your report to the Reporting Services portal and access through the portal also.

SQLReporting13.gif

  

Login to add your contents and source code to this article
share this article :
post comment
 

Nice Article

Posted by Angelina Erin Jul 18, 2011

Welcome back, thanks for sharing.

Posted by Dinesh Beniwal Jul 17, 2011
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor