ArticleslgStudy

computer science

SQL Server Reporting Services

SQL Server Reporting Services is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand SQL Server Reporting Services rather than just read about it. In short: SQL Server Reporting Services (SSRS) is a server-based report generating software system from Microsoft. It is part of a suite of Microsoft SQL Server services, including SSAS (SQL Server Analysis Services) and SSIS (SQL Server Integration Services).

Key takeaways

  • SQL Server Reporting Services belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect SQL Server Reporting Services to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of SQL Server Reporting Services from memory before moving on to harder problems.

Reference excerpt

SQL Server Reporting Services (SSRS) is a server-based report generating software system from Microsoft. It is part of a suite of Microsoft SQL Server services, including SSAS (SQL Server Analysis Services) and SSIS (SQL Server Integration Services). Administered via a web interface, it can be used to prepare and deliver a variety of interactive and printed reports. The SSRS service provides an interface into Microsoft Visual Studio so that developers as well as SQL administrators can connect to SQL databases and use SSRS tools to format SQL reports in many complex ways. It also provides a 'Report Builder' tool for less technical users to format SQL reports of lesser complexity. SSRS competes with Crystal Reports and other business intelligence tools.

History Reporting Services was first released in 2004 as an add-on to SQL Server 2000. Subsequent versions have been:

Second version with SQL Server 2005 in November 2005 Third as part of SQL Server 2008 R2 in April 2010 Fourth version as part of SQL Server 2012 in March 2012 Fifth version as part of SQL Server 2014 in March 2014 Sixth version as part of SQL Server 2016 in March 2016 Seventh version as part of SQL Server 2017 in October 2017 Eighth version as part of SQL Server 2019 in November 2019

Packaging Microsoft SQL Server Developer, Standard, and Enterprise editions all include SSRS as an install option. The free SQL Server Express includes a limited version.

Use SQL Server Data Tools for Business Intelligence (SSDT BI) reduces the RDL (Report Definition Language) component to graphic icons in a GUI (Graphical User Interface). In this way, instead of writing code, the user can drag-and-drop graphic icons into an SSRS report format for most aspects of the SSRS report. Reports defined by RDL can be downloaded to a variety of formats including Excel, PDF, CSV, XML, TIFF (and other image formats), and HTML Web Archive. SQL Server 2008 and 2012 SSRS can also prepare reports in Microsoft Word (DOC) format, while third-party report generators offer additional output formats. Users can interact with the Report Server web service directly, or instead use Report Manager, a Web-based application that interfaces with the Report Server web service. With Report Manager, users can view, subscribe to, and manage reports as well as manage and maintain data sources and security settings. Report Manager can also deliver SQL reports by e-mail, or place them on a file share. Security is role-based and can be assigned on an individual item, such as a report or data source, a folder of items, or site wide. Security roles and rights are inherited and can be overloaded. Typically the reports are only revealed to users able to run them, and SQL connections in the source allow anyone to run with sufficient privileges. This is because configuring Windows Authentication through the reports execution is laborious and time-consuming: a Server Principal Name record (requiring DOMAIN ADMINISTRATOR access) is created in Active Directory associating the Sql Server Reporting service to the user the service runs under on the server (a network user to facilitate querying the Active Directory)... and the service account user has to have the delegation option enabled, the server must be trusted for delegation too; the windows users wishing to run reports must be set to allow delegation - so Kerberos authentication protocols will be used. The reporting service itself has to have the configuration edited to enable Kerberos protocols... but then the reports will be secure and only display data the individual users are permitted to (based on SQL security configuration). RDL reports can be viewed by using the standalone Report Server that comes with Microsoft SQL Server, or by using the ASP.NET ReportViewer web control, or by using the ReportViewer Windows Forms control. The latter method allows reports to be embedded directly into web pages or .NET Windows applications. The ReportViewer control will process reports by: (a) server processing, where the report is rendered by the Report Server; or (b) local processing, where the control renders the RDL file itself. SQL Server Reporting Services also support ad hoc reports: the designer develops a report schema and deploys it on the reporting server, where the user can choose relevant fields/data and generate reports. Users can then download the reports locally. Microsoft SQL Server 2012 SP1 expands Microsoft support for viewing reports to mobile platforms, including Microsoft Surface, Apple iOS 6 and Windows Phone 8.

Report Definition Language Report Definition Language (RDL) is a standard proposed by Microsoft for defining reports. RDL is an XML application primarily used with SQL Server Reporting Services. It is usually written using Visual Studio, although there are also third-party tools; it may also be created or edited by hand in a text editor. SQL Server Reporting Services or other third-party reporting frameworks use RDL to define charts, graphs, calculations, text, images (through links), and other report objects and render them in a variety of formats. There are three high-level sections in a typical RDL file:

Page style - The objects to display including fields, images, graphs, and tables. Field definitions - The extended attributes of fields that are populated with formulas, dynamic data, or Database derived data. Parameters and Database connections - Parameters that may be furnished by the user or passed in from another application; and database connections and queries for pulling data into the report.

Power BI Report Builder

Power BI Report Builder is a variant of the SSRS application for building paginated reports, with some features added and branded under the Power BI platform. The "Power BI Report Builder" application (not to be confused with "Report builder", the standalone SSRS tool) produces RDL reports (.rdl files, similar to SSRS), in contrast to the interactive .pbix files of regular Power BI reports (produced for example with the Power BI Desktop application). Similar to regular Power BI reports, paginated reports can also be published to the Power BI Service, and can also be connected to shared Power BI datasets. Paginated reports with Power BI Report Builder can be developed for free locally, but a Premium Power BI workspace is needed for publishing a report to the Power BI Service. SSRS reports can be migrated to Power BI using the "Power BI Report Builder".

References

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with SQL Server Reporting Services

Start with the simplest possible case. Write down what SQL Server Reporting Services claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to SQL Server Reporting Services before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about SQL Server Reporting Services ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of SQL Server Reporting Services

In research
SQL Server Reporting Services appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses SQL Server Reporting Services in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
SQL Server Reporting Services is common in secondary-school and first-year university syllabi. It links to neighbouring topics Microsoft database software, Reporting software, so understanding it makes those chapters shorter.
In everyday life
Look for SQL Server Reporting Services outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “SQL Server Reporting Services” →

How to study SQL Server Reporting Services in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what SQL Server Reporting Services means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain SQL Server Reporting Services out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is SQL Server Reporting Services in simple terms?

SQL Server Reporting Services (SSRS) is a server-based report generating software system from Microsoft. It is part of a suite of Microsoft SQL Server services, including SSAS (SQL Server Analysis Services) and SSIS (SQL Server Integration Services).

Why does SQL Server Reporting Services matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study SQL Server Reporting Services?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on SQL Server Reporting Services.

Tags

  • Microsoft database software
  • Reporting software

Keep exploring