SQL Server Reporting Services


Published on

Published in: Technology
1 Comment
  • A report is basically a structured arrangement of data, from which can be inferred information, directly or indirectly. A report can include explicit information too. In theory knowledge can be encoded in a report too. See DIKW pyramid for delimitions between the 3.
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

SQL Server Reporting Services

  1. 1. SQL Server Reporting Services<br />Dot Net Team-TDG-Injazat<br />Ahmed Elbaz<br />
  2. 2. Agenda<br />Introducing Reporting<br />Reporting Platform<br />Reporting Life Cycle<br />Reporting Services Architecture<br />SharePoint Integrated Mode<br />Installing Reporting Services<br />Configuring Reporting Services <br />Report Builder 2.0<br />Report Designer<br />
  3. 3. Introducing Reporting<br />A report is a structured arrangement of information.<br />The report information comes from data in a business application.<br />The report information can be derived from a variety of sources.<br />Reports were available only as part of the business applications.<br />
  4. 4. Introducing Reporting (cont’d)<br />Preprogrammed reports rarely answered all the questions that business users needed answered.<br />Report-generation tools with the applications.<br />Deliver reports to a large number of users, expensive, complex to implement and manage, and difficult to integrate into custom applications and technical infrastructures.<br />
  5. 5. A Reporting Platform<br />SSRS was introduced in 2004 as an additional component of Microsoft SQL Server 2000.<br />SSRS is a platform of technologies rather than a single application.<br />SSRS is an integrated set of applications.<br />Report development, management, and viewing.<br />Different roles and skill sets to work with some aspect of Reporting Services.<br />A report developer, IT administrator, or business user.<br />
  6. 6. One of the primary reasons that organizationsimplement Reporting Services is to provide managed reports to a large number of internal users<br />
  7. 7. SSRS Report Types<br />Managed Report:<br />detailed operational data.<br />gathered from a variety of data sources.<br />organized into a central repository.<br />Standard formatting.<br />Ad hoc Report:<br />Report Builder.<br />users with limited technical skills.<br />simple reports saved privately or shared.<br />Embedded Report:<br />portals or custom applications.<br />
  8. 8. ReportingLifeCycle<br />The report from creation to delivery.<br />SSRS supports 3 phases of the reporting life cycle:<br />report development.<br />management of the report server.<br />report access by user<br />Rendering:<br />reproduce a report in a variety of formats.<br />
  9. 9. ReportDevelopment<br />Selecting data for the report from variety of data sources.<br />Organizing the report layout and formatting.<br />Interactive features:<br />Sorting, parameters, hide/ show details, links and document map.<br />Preview the report for testing.<br />Deploy managed reports to the report server or to a Microsoft Office SharePoint Server 2007 Web site.<br />Store ad hoc reports on your computer, or deploy it to the report server or a SharePoint site.<br />
  10. 10. ReportAdministration<br />manage the technical environment for the reporting platform.<br />configure the report server:<br /> change the data source connection information<br />optionally integrate the report server with SharePoint.<br />fine-tune the report server performance.<br />manage the location, security, and execution properties of reports:<br />cache the report for faster viewing.<br />multiple snapshots of a report.<br />place the related reports in a folder.<br />apply security to the report or the folder.<br />
  11. 11. ReportAccess<br />The most common way to use a browser and navigate to a central report repository.<br />Portal application with links to guide users to reports in Reporting Services.<br />Corporate applications/embedded reports.<br />Store a selection of reports in a personal folder.<br />Subscription to a report to receive it on a scheduled basis in an e-mail inbox, a network file share, or a SharePoint document library.<br />A report rendered in HTML, PDF, TIFF, CSV or XML.<br />
  12. 12. ReportingServicesArchitecture<br />A variety of components, extensions, and application programming interfaces (APIs) .<br />A multi-tier architecture with data, application, and server tiers. <br />Modular nature of the architecture and Flexibility:<br />distribute components across multiple servers for scalability.<br />Native mode (the default configuration):<br />a stand-alone application server,<br />Integrated mode, a SharePoint farm.<br />
  13. 13. SSRS Architecture (cont’d)<br />
  14. 14. SSRS Architecture (cont’d)DataTier<br />consists of a pair of databases:<br />The ReportServer database is the primary database for permanent storage of reports, report models, and other data related to the management of the report server. <br />The ReportServerTempDB database stores session cache information and cached instances of reports.<br />In a scale-out deployment of Reporting Services across multiple report servers, these two databases in the data tier are the only requirements. <br />These databases do not need to be on the same server as the report server.<br />
  15. 15. SSRSArchitecture (cont’d) Application Tier<br />Collection of tools that you use to develop reports and manage the reporting platform.<br />Report Development Tools:<br />Report Designer:<br />full features, a project template available in SQL Server BI Dev Studio.<br />Report Builder:<br />ad hoc report, Report Builder 1.0 and Report Builder 2.0.<br />Report Builder was first available in Reporting Services 2005.<br />Using Report Builder 1.0, you can build a simple report that displays data from a single data source as defined by a report model. <br />Report Builder 2.0 is new in Reporting Services 2008 .<br />Model Designer:<br />in BI Dev Studio to develop and publish a report model.<br />SQL Server, Oracle, and Teradata databases.<br />Programmatic Interface for Report Development:<br />APIs that allow you to build a custom report development tool. <br />Report Definition Language (RDL).<br />
  16. 16. SSRSArchitecture (cont’d) Report Viewers<br />Report Manager:<br />native mode, Web application.<br />page through a large report, search, zoom in or out to resize a report, render a report to a new format, print the report, and change report parameters.<br />SharePoint:<br />Integrated mode. <br />open the report in document library or in a Web Part.<br />search, zoom, render, print, and select parameters.<br />Programmatic Interface for Viewing or Delivering Reports:<br />custom application by using the Reporting Services API or by accessing reports using URL endpoints.<br />extend standard functionality by customizing security, data processing, rendering, or delivery options.<br />you cannot use both tools in the same instance.<br />
  17. 17. SSRS Architecture (cont’d) ManagementTools<br />Reporting Services Configuration Manager:<br />configure a local or remote Reporting Services installation. <br />assign service accounts for running the service and for processing reports for schedule operations. <br />configure the URLs to be used by the Reporting Service application.<br />create the report server databases to host the application data.<br />convert a report server to native mode or integrated mode. <br />configure e-mail delivery of reports,.<br />connect a report server to a scale-out deployment. <br />SQL Server Management Studio:<br />the management interface for many of the server components in SQL Server. <br />manage the report server.<br />
  18. 18. SSRS Architecture (cont’d) ManagementTools (cont’d)<br />SQL Server Configuration Manager:<br />start or stop the report server Windows service.<br />Report Manager:<br />native mode .<br />Organize, configure and secure reports.<br />report model management and subscription management.<br />Note :<br />in SharePoint integrated mode, you perform these same tasks using the SharePoint interface.<br />Programmatic Interface for Management<br />a custom application using the Reporting Services API.<br />
  19. 19. Demo<br />SQL Server Configuration Manager.<br />
  20. 20. SSRSArchitecture (cont’d) Server Tier<br />The central layer of the Reporting Services architecture.<br />Processor Components, respond to and process requests to the report server.<br />Server Extensions, subcomponents delegate very specific functions.<br />These components are implemented as a Windows service.<br />Processor Components:<br />Report Processor, receives all requests that require execution and rendering of reports.<br />Scheduling and Delivery Processor, receives all requests for scheduled events such as snapshots and subscriptions.<br />
  21. 21. SSRS Architecture (cont’d) Server Tier (cont’d)<br />Report Processor:<br />An on-demand report, calls a data processing extension to execute the report queries and then merges the query results into a temporary format.<br />A cached report, stored in the ReportServerTempDB database in the temporary format.<br />A report snapshot, stored in the ReportServer database in the temporary format.<br />Rendering Extension.<br />Scheduling and Delivery Processor:<br />A user creates a snapshot or subscription schedule for a report.<br />The Scheduling and Delivery Processor creates a SQL Server Agent job.<br />When the job executes, SQL Server Agent sends a request to the Scheduling and Delivery Processor.<br />The Scheduling and Delivery Processor forwards the request to the Report Processor to execute and render the report.<br />The Report Processor returns the finished report to the Scheduling and Delivery Processor.<br />the Scheduling and Delivery Processor calls a delivery extension to e-mail the report or store it on a network share.<br />
  22. 22. SSRS Architecture (cont’d) ServerExtensions<br />The processor components that perform very specific tasks. <br />Modular approach, disable an extension or add your own extension. <br />SSRS includes 5 types of server extensions: <br />authentication, data processing, report processing, rendering, and delivery.<br />Authentication Extension:<br />By default, Windows authentication.<br />only one active authentication extension per report server instance.<br />custom security extension.<br />Data Processing Extension:<br />connects to a data source, executes a query and returns the query results.<br />SSRS includes data processing extensions for: <br />SQL Server, Analysis Services, Hyperion Essbase, Oracle, SAP Netweaver Business Intelligence, Teradata, Object Linking and Embedding Database (OLE DB), and Open Database Connectivity (ODBC).<br />
  23. 23. SSRS Architecture (cont’d) ServerExtensions (cont’d)<br />Report Processing Extension:<br />an optional component used to process custom report items from third-party vendors.<br />For example, you can obtain charting or mapping add-ins to enhance your reports.<br />Rendering Extension:<br />Convert a report in temporary format into a finished format for the user.<br />The rendering extensions include:<br />HTML, Excel, CSV, XML, Image, PDF, and Microsoft Office Word.<br />Develop your own rendering extension.<br />
  24. 24. Delivery Extension:<br />handle scheduled report requests.<br />The e-mail delivery extension:<br />the report embedded in the report body, attached as a file, or referenced as a URL link to the report on a report server.<br />The file share delivery extension:<br />saves a report in a specified format to a network share.<br />The null delivery provider:<br />a mechanism for caching a report in advance.<br />Custom delivery extension:<br />a fax device or printer, or to another application.<br /> SSRS Architecture (cont’d) ServerExtensions (cont’d)<br />
  25. 25. InstallingReportingServices<br />SSRS is one of the features included in SQL Server.<br />All editions except SQL Server 2008 Express and SQL Server Compact. <br />Each edition supports a different set of features to meet specific scalability, performance, and pricing requirements. <br />SQL Server 2008 Express with Advanced Services.<br />SQL Server 2008 Web.<br />SQL Server 2008 Workgroup.<br />SQL Server 2008 Standard.<br />SQL Server 2008 Enterprise.<br />SQL Server 2008 Developer.<br />SQL Server 2008 Evaluation.<br />
  26. 26. Notes about Modes<br />You cannot migrate any reports that you have previously published to the report server, so you must keep a copy of the report definitions to publish again after switching the report server to a different mode.<br />
  27. 27. Notes about Modes (cont’d)<br />You can use a SQL Server 2000 or SQL Server 2005 database for Reporting Services in native mode, you must use a SQL Server 2008 database if you plan to run Reporting Services in SharePoint integrated mode.<br />
  28. 28. Notes about Modes (cont’d)<br />You can still use a native-mode report server with SharePoint by using SharePoint WebParts in a partial integration mode<br />
  29. 29. Demo<br />Report Builder 2.0<br />
  30. 30. Demo<br />Report Manager.<br />
  31. 31. ReportDesigner<br />Multiple reports.<br />The report server project used as a container of reports.<br />Shared data source.<br />Data regions:<br />Tables.<br />Matrixes.<br />Lists.<br />Charts.<br />
  32. 32. Demo<br />Report Designer.<br />