1 developing reporting solutions with sql server jason carlson product unit manager microsoft...

21
1 Developing Reporting Solutions with SQL Server Jason Carlson Product Unit Manager Microsoft Corporation DAT302

Upload: rudolph-cross

Post on 29-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

1

Developing Reporting Solutions with SQL Server

Jason CarlsonProduct Unit ManagerMicrosoft Corporation

DAT302

2

Reporting Services DeliversReporting Services Delivers

Traditional and interactive reports Scalable, manageable and embeddable server infrastructureIntegration with Office applications, browser, SharePoint and other familiar tools Single platform and tools for all types of structured data (relational, hierarchical, multidimensional)

Traditional and interactive reports Scalable, manageable and embeddable server infrastructureIntegration with Office applications, browser, SharePoint and other familiar tools Single platform and tools for all types of structured data (relational, hierarchical, multidimensional)

3

Reporting PlatformOpportunitiesReporting PlatformOpportunities

Applications with reporting needsFocus on business value, not on reporting infrastructure

Report Authoring and Publishing Tools Delivery, Data and Rendering Extensions (Add-ons)Server Management ApplicationsPortals and Collaboration Applications

Applications with reporting needsFocus on business value, not on reporting infrastructure

Report Authoring and Publishing Tools Delivery, Data and Rendering Extensions (Add-ons)Server Management ApplicationsPortals and Collaboration Applications

4

Demonstration SetupDemonstration Setup

Windows XPSQL Server 2000 SP3Visual Studio .NET 2003SQL Server 2000 Reporting Services Beta 2

Windows XPSQL Server 2000 SP3Visual Studio .NET 2003SQL Server 2000 Reporting Services Beta 2

5

Designing a Report

Jason CarlsonProduct Unit ManagerSQL Server Reporting Services

6

Report AuthoringReport AuthoringPowerful XML Report Definition Language

Freeform / Table / Matrix / ChartParameters (Dynamic, Hierarchical)Sorting / Filtering / Grouping / AggregatesInteractivity (Drill-down, Drill-through)VB.NET Expression Language / External Assemblies

Extensible query execution architectureSQL Server OLE DB / ODBC / Oracle

Report DesignerIntegrated with VS .NETQuery designer for SQL

Powerful XML Report Definition LanguageFreeform / Table / Matrix / ChartParameters (Dynamic, Hierarchical)Sorting / Filtering / Grouping / AggregatesInteractivity (Drill-down, Drill-through)VB.NET Expression Language / External Assemblies

Extensible query execution architectureSQL Server OLE DB / ODBC / Oracle

Report DesignerIntegrated with VS .NETQuery designer for SQL

7SQL Server CatalogSQL Server Catalog

Report ServerReport Server

Reporting Services ArchitectureReporting Services Architecture

DeliveryDelivery

Delivery TargetsDelivery Targets(E-mail, File share,(E-mail, File share,

Custom)Custom)

Security ServicesSecurity Services(Window, (Window, Custom)Custom)

SecuritySecurity

Data SourcesData Sources(SQL, OLE DB, ODBC, (SQL, OLE DB, ODBC,

Oracle, Custom)Oracle, Custom)

Output Formats Output Formats (HTML, Excel, (HTML, Excel, PDF, Custom)PDF, Custom)

Report ProcessingReport Processing

BrowserBrowser ManagementManagement Custom AppCustom App

Programmatic InterfacesProgrammatic Interfaces

Data RetrievalData Retrieval RenderingRendering

8

Programmatic InterfacesProgrammatic InterfacesCustomizable XML report definition

Open SchemaCustom Assemblies

Viewing InterfacesURL AddressabilityWeb Service / SOAP

Management InterfacesWeb Service / SOAPWMI Interface

Extension InterfacesData, Delivery, Rendering and Security

Customizable XML report definitionOpen SchemaCustom Assemblies

Viewing InterfacesURL AddressabilityWeb Service / SOAP

Management InterfacesWeb Service / SOAPWMI Interface

Extension InterfacesData, Delivery, Rendering and Security

9

Report Generation and Embedded Viewing

Brian WelckerGroup Program ManagerSQL Server Reporting Services

10

Generating ReportsGenerating Reports

Application specific report authoring requirementsReports are defined in Report Definition Language (RDL), a customizable XML formatUse .NET XML classes to generate report definitions

Leverage RDL Schema Description (XSD)

Application specific report authoring requirementsReports are defined in Report Definition Language (RDL), a customizable XML formatUse .NET XML classes to generate report definitions

Leverage RDL Schema Description (XSD)

11

URL AddressabilityURL Addressability

Report Server URLDefaults to http://[servername]/ReportServer

Report NameReport Parameters

Names must match report definition

User CredentialsCredentials for each report data set

Rendering Device InfoInformation specific to format being rendered to (Page Size, Section, Zoom, etc.)

Report Server URLDefaults to http://[servername]/ReportServer

Report NameReport Parameters

Names must match report definition

User CredentialsCredentials for each report data set

Rendering Device InfoInformation specific to format being rendered to (Page Size, Section, Zoom, etc.)

12

Web Service InterfacesWeb Service Interfaces

Namespace ManagementItem Properties Report ExecutionReport ParametersReport HistoryData Source Management

Namespace ManagementItem Properties Report ExecutionReport ParametersReport HistoryData Source Management

SchedulingSubscriptions and DeliveryLinked ReportsJob ManagementSecurity Management

SchedulingSubscriptions and DeliveryLinked ReportsJob ManagementSecurity Management

13

Web Services Client Application

Brian WelckerGroup Program ManagerSQL Server Reporting Services

14

Web Services InterfaceWeb Services Interface

SOAP Endpointhttp://[servername]/ReportServer/Reportservice.asmx

Proxy generated by Visual Studio .NETComplex types defined in XSDSynchronous and asynchronous supportUpdate operations may be batched

SOAP HeadersSession IDBatch ID

AuthenticationBasicIntegrated

SOAP Endpointhttp://[servername]/ReportServer/Reportservice.asmx

Proxy generated by Visual Studio .NETComplex types defined in XSDSynchronous and asynchronous supportUpdate operations may be batched

SOAP HeadersSession IDBatch ID

AuthenticationBasicIntegrated

15

Extending the Report ServerExtending the Report Server

Extensions provide a way to extend the Reporting Services Platform

Managed code runs in server processPublished CLR interfaces

Extension TypesData – Communicates to data sources and returns dataDelivery – Delivers reports over different protocols and to different devicesRendering – Renders to specific formats and devicesSecurity – Provides a means to authenticate and authorize users via custom authorization schemes

Extensions provide a way to extend the Reporting Services Platform

Managed code runs in server processPublished CLR interfaces

Extension TypesData – Communicates to data sources and returns dataDelivery – Delivers reports over different protocols and to different devicesRendering – Renders to specific formats and devicesSecurity – Provides a means to authenticate and authorize users via custom authorization schemes

16

Extension InterfacesExtension Interfaces

Data Processing Subset of the .NET Managed Data Provider (System.Data)Minimally implement IDbConnection, IDbCommand, IDataParameter, and IDataReaderOptionally implement extended interfaces

Rendering (IRenderingExtension)Returns primary and ancillary streams (images, etc.) given a fully processed report objectDeviceInfo contains format-specific rendering options

Delivery (IDeliveryExtension)Deliver a notification to a destination given a fully processed report objectUserData contains delivery optionsReturns status and retry parametersVerify delivery information when a subscription is created

Data Processing Subset of the .NET Managed Data Provider (System.Data)Minimally implement IDbConnection, IDbCommand, IDataParameter, and IDataReaderOptionally implement extended interfaces

Rendering (IRenderingExtension)Returns primary and ancillary streams (images, etc.) given a fully processed report objectDeviceInfo contains format-specific rendering options

Delivery (IDeliveryExtension)Deliver a notification to a destination given a fully processed report objectUserData contains delivery optionsReturns status and retry parametersVerify delivery information when a subscription is created

17

Coming in “Yukon”Coming in “Yukon”

Richer Data Source SupportImproved Analysis Services integrationXML Data Sources

Embeddable Report ControlsWinForm control WebForm control

Extensible Report ToolboxImproved Parameterization

Richer Data Source SupportImproved Analysis Services integrationXML Data Sources

Embeddable Report ControlsWinForm control WebForm control

Extensible Report ToolboxImproved Parameterization

18

Sneak Peak

Jason CarlsonProduct Unit ManagerSQL Server Reporting Services

19

Next StepsNext Steps

Sign up for Reporting Services BetaGet the Beta todaySignup on http://www.microsoft.com/sql

Leverage Reporting Services in your application

Report Definition LanguageWeb Services InterfacesServer Extensions

Prepare for Reporting Services RTM by end of 2003

Sign up for Reporting Services BetaGet the Beta todaySignup on http://www.microsoft.com/sql

Leverage Reporting Services in your application

Report Definition LanguageWeb Services InterfacesServer Extensions

Prepare for Reporting Services RTM by end of 2003

20© 2003-2004 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.