Microsoft SQL Server 2000 Reporting Services ( 주 ) 아이티즌 서정만 선임연구원
Reporting Services 소개 Reporting Services Overview Reporting Services Life Cycle Report Authoring/Management/Delivery
The Reporting Life Cycle DELIVERY Runtime report rendering Pull Report Manager Custom Push s Custom Runtime report rendering Pull Report Manager Custom Push s Custom MANAGEMENT Central Report Server database Managed report execution Secured reports Web-based Report Manager or custom Central Report Server database Managed report execution Secured reports Web-based Report Manager or custom AUTHORING RDL Any.NET managed data provider Report Designer or custom RDL Any.NET managed data provider Report Designer or custom
Highlights of Reporting Services Authoring Wide range of supported data sources Open report authoring options Flexible report designs Management Parameterized reports Execution properties Report scheduling and history Role-based security Delivery Range of rendering options Flexible and extensible delivery
Reporting Services Scenarios Internal reporting Departmental Corporate External reporting Business to business Embedded reporting Portals Applications
Authoring Reports Report Definition Language List / Table / Matrix / Chart Sorting / Filtering / Grouping / Aggregates Interactivity (drill-down, drill-through) Parameters Full Visual Basic.NET Expression Language List / Table / Matrix / Chart Sorting / Filtering / Grouping / Aggregates Interactivity (drill-down, drill-through) Parameters Full Visual Basic.NET Expression Language Access through ADO.NET managed data providers Access through ADO.NET managed data providers OLE DB ODBC OLE DB for OLAP OLE DB ODBC OLE DB for OLAP Development options Report Designer Third Party Report Designer Third Party
Managing Reports Publish reports to a centralized report server database General report management tasks: Define execution schedule–on demand or in advance Set up security Maintain report folders Administer user features Management roles Content manager System administrator
Delivering Reports Runtime rendering Web – HTML, MHTML Print – PDF, TIFF Data – CSV, Excel, XML Pull delivery – User issues report request Report Manager Custom Push delivery – Report is automatically distributed to user File Custom
Reporting Services Platform Report Sources Delivery Channels Security Services Output Formats Report Server Data Processing Rendering Security Delivery Report Processing Programmatic Interfaces Web UI Microsoft Office Microsoft Office Custom Applications Custom Applications Report Server Database Browser
Reporting Services Components ComponentPrerequisites Server Report Server Report Manager IIS.NET Framework Report Server Database SQL Server SQL Server Agent Delivery Extension SMTP Server Client Report DesignerVisual Studio.NET Utilities Windows Management Instrumentation
Single Server Deployment Client Report Author User Server IIS Report Manager Report Server Report Server Database SMTP Report Designer Visual Studio.NET
Web Farm Deployment User Web Farm Virtual Report Server MSSQL MSRS Report Server Database MSRS SMTP IIS Report Manager Report Server
DEMO (Basic Reporting) Authoring Management Delivery
DEMO (Interactive Navigation) Using Dynamic Visibility Creating a Document Map Initiating Actions
DEMO (Parameter / Filter) Using Parameter Using Filter
Reporting Services Executing Reports On-Demand Executing Cached Instances Executing Snapshot Reports Subscriptions Rendering Reports Using URL Access Report Printing in Windows Applications
Executing Reports On-Demand Every report request triggers the same execution process: Retrieves up-to-date data and processes report Creates intermediate report and temporarily stores result in the session cache in ReportServerTempDB Renders using intermediate report Rendered Report Intermediate Report. Published Report Report Request
Executing Cached Instances Initial request triggers execution process (subsequent requests only use step 4) 1. Retrieves most up-to-date data and processes report 2. Creates intermediate report and stores intermediate result in the cache in ReportServerTempDB 3. Flags intermediate report as a cached instance 4. Renders report from cached instance First Report Request Other Report Request Report ServerCache Rendered Report Intermediate Report. Published Report
Snapshot Creation Report Request Executing Snapshot Reports Data retrieval and processing occurs in advance of report browsing 1. Scheduled event occurs 2. Creates the intermediate report and stores result as a snapshot in the report server database 3. Requests are satisfied by retrieving and rendering the snapshot Report ServerSnapshot Cache Rendered Report Intermediate Report. Published Report
Rendered Report Using Report History Report histories store snapshots for future reference History requests are satisfied by retrieving a specific historical snapshot Snapshot History History Request Snapshot Published Report
DEMO (Cached Instance/Snapshot) Executing Cached Instances Executing Snapshot Reports Using Report History
Subscriptions Mechanisms to execute and deliver rendered reports Two types of subscriptions: Standard – end-user driven Data-driven – administrator driven Default delivery extensions: (SMTP) File share
DEMO (Subscriptions) Data-driven Subscriptions
Rendering Reports Using URL Access Use a hyperlink from a Web page &rs:Command=Render Additional parameters allow rendering control bar=false&rc:Zoom=200 URL can include report parameters URL sent as plain text – use SSL for security Web service detects appropriate HTML level for browser
URL Access ms- help://MS.RSBOL /RSPROG/htm/rsp_prog_urlaccess _374y.htm ms- help://MS.RSBOL /RSPROG/htm/rsp_prog_urlaccess _374y.htm ms- help://MS.RSBOL /RSPROG/htm/rsp_prog_soapapi_d ev_5l7q.htm ms- help://MS.RSBOL /RSPROG/htm/rsp_prog_soapapi_d ev_5l7q.htm ms- help://MS.RSBOL /RSPROG/htm/rsp_prog_urlaccess _959e.htm ms- help://MS.RSBOL /RSPROG/htm/rsp_prog_urlaccess _959e.htm
DENO (URL Access) Web Browser VB 6.0
Report Printing in Windows Applications Using Adobe Acrobat Reader Using Adobe Acrobat Control for ActiveX (PDF.OCX) Using Microsoft Office Document Imaging Viewer Control (MODI) Using PrintDialog Control (Win Form)
DENO (Report Printing) Using Adobe Acrobat Reader Using Adobe Acrobat Control for ActiveX (PDF.OCX) Using Microsoft Office Document Imaging Viewer Control (MODI) Using PrintDialog Control (Win Form)