SSRS
Darshika Srivastava
Associate Project Manager @ HuQuo | MBA,Amity Business School
What is SSRS
SSRS or SQL Server Reporting Services?is one of the tools?available in Microsoft SQL Server Data Tools. It is used for generating, accessing and maintaining the reports in any form or shape, such as a pie chart, a bar chart, a table, graphs and images. For a person to work on SSRS, it important to download and install the supporting applications, including the SQL Server Data Tools,?SQL Server?Database Engine and a sample database from Microsoft that is ‘Adventure Works 2014’.
Pre-requisite
In order to work with it, below are the pre-requisites that you should be having as a part of the software:
SSDT – SQL Server Data Tools
SQL Server Database Engine
AdventureWorks2014 Database
In order to install SSDT, please follow the below link:
https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-2017
The link for the AdventureWorks2014 Database can be found here:
https://github.com/Microsoft/sql-server-samples/releases
Working and Architecture
Following is working and architecture:
The main components of SSRS are the following:
Report Builder?– This component is basically used as a drag and drop utility which can be used to pick any functionality or tables and drag it as per usage. It runs on the client computer.
Report Designer?– This component is used to develop reports. Complex reports can be developed with ease using this component. It is a publishing tool that is hosted in SSDT (SQL Server Data Tools) or visual studio.
Report Manager?–?To access any web-based reports, we can make use of Report Manager.
Report Server?– This component is used to store?SQL server Engine metadata.
Server Database?Report?–?This component is used to store security settings, report definitions, metadata, delivery data, etc.
Data Sources?–?The reporting service components retrieve data from data sources like multidimensional, relational or traditional data sources.
Downloads and Installation
Following are downloads and installation:
1. SSDT with Visual Studio 2017
Follow the below link to install Visual studio:
https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2019
Now in order to install SSDT (and hence SSRS), go ahead and run the Visual Studio installer; on the coming screen, please select the Data Storage and Processing Workload and then from the summary, please checkbox “SQL Server Data Tools”.
Image Source: https://docs.microsoft.com/en-us/sql/ssdt/media/download-sql-server-data-tools-ssdt/data-workload.png?view=sql-server-2017
2. SSDT Standalone Installation
You can also install SSDT as a standalone installation by downloading from the below link:
https://go.microsoft.com/fwlink/?linkid=2052454
Also, before you install SSDT for VS 2017, please uninstall Analysis and Reporting Services project extensions.
Image Source:https://docs.microsoft.com/en-us/sql/ssdt/media/download-sql-server-data-tools-ssdt/select-services.png?view=sql-server-2017
Various Types of SSRS Reports
The various types of reports creation that are available through SSRS are:
Parameterized Report?– This report is based on the input values. The parameterized reports are frequently used for creating reports like drill-down reports, linking, subreports and filtering.
Linked Reports?– This report provides access to an existing report and is a report server item. It is derived from an existing report.
Cached Reports?– In order to create a copy of processed reports, cached reports can be used. By creating a copy, we can enhance performance by reducing the number of processing requests.
Snapshot Reports?– These reports contain the query results that were executed and the layout information. The reports are not saved anywhere but instead are rendered in a viewing format (like HTML) as and when a user or an application requests it.
Sub Reports?– A report within a report. A subreport presents you with another report within the body of the main report. For a subreport, one can use a number of data sources than the main report.
Drilldown Reports?– Drilldown reports allow user control and enable them to see the data they would like to see. This way, it handles the complexity of the report.
Drillthrough Reports?– Drillthrough reports are those ones which are being accessed via a hyperlink through the original report.
Export Options for SSRS Reports
There are a number of options available for report rendering in SSRS:
CSV
XML
Excel
HTML
Acrobat
As an image
Advantages
1. Faster and cheaper report generation on relational as well as cube data.
?Popular Course in this category
All in One Software Development Bundle (600+ Courses, 50+ projects)
600+ Online Courses | 3000+ Hours | Verifiable Certificates | Lifetime Access
4.6 (3,144 ratings)
Course Price
?7999??125000
View Course
Related Courses
Software Testing Training (9 Courses, 2 Projects)Selenium Automation Testing Training (9 Courses, 4+ Projects, 4 Quizzes)Appium Training (2 Courses)JMeter Testing Training (3 Courses)
2. It comes free?with a MySQL server.
3. It is server-based; hence it can build and distribute the reports through the web.
4. Users are having access to enterprise-level features. For example, connecting to many data sources,?connectivity to MS SQL, Excel, Oracle, etc.
5. It has a huge support community.
6. It is easy to deploy centralized reporting using it.
7. Not much of a specialized skill set is needed to get started with it.
8. It enabled faster delivery of reports to the businesses.
9. It?allows XML based?report definition where you can render your reports directly. Apart from XML, there are other rendering options as well, like HTML, CSV, etc.
10. Also, the security is very effectively managed and is based on the role-based method, which can be implemented for folders and reports.
11. The application and reports can be created within the same environment as the report designer is integrated with visual studio.NET.
Disadvantages
1. It is resource consuming if you ARE RUNNING LARGE REPORTS. It may consume much of your server resources.
2.?It runs only on windows?which thereby causes some limitations to its usage.
3. Its interface is becoming outdated.
4. Upgrading SSRS poses a difficult task.
Reports need 5. Parameters in order to be accepted by the user.
6. Power BI, yet another reporting tool from Microsoft, is taking over SSRS.?