introducing sql server 2000 reporting services geoff snowman developer community champion...

36
Introducing SQL Server Introducing SQL Server 2000 Reporting Services 2000 Reporting Services Geoff Snowman Geoff Snowman Developer Community Champion Developer Community Champion [email protected] [email protected] Microsoft Corporation Microsoft Corporation

Upload: daniel-kelly

Post on 28-Jan-2016

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Introducing SQL Server 2000 Introducing SQL Server 2000 Reporting ServicesReporting Services

Geoff SnowmanGeoff SnowmanDeveloper Community ChampionDeveloper Community [email protected]@microsoft.comMicrosoft CorporationMicrosoft Corporation

Page 2: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

http://blogs.msdn.com/http://blogs.msdn.com/gsnowmangsnowman

Page 3: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

It has shipped!It has shipped!

Page 4: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Reporting Services VisionReporting Services Vision

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

Enable employees at all levels of Enable employees at all levels of an organization to realize the an organization to realize the

promise of BI to promote better promise of BI to promote better decision makingdecision making

Page 5: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Originally, a feature of Originally, a feature of Yukon…Yukon…

……but Yukon’s late and Rosetta’s but Yukon’s late and Rosetta’s early!early!

Page 6: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Licensing ModelLicensing Model

SQL ServerSQL Server

Page 7: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

ScenariosScenarios

Enterprise ReportingEnterprise ReportingIn-house reports (Sales, Finance, HR)In-house reports (Sales, Finance, HR)

Manageability, portal and LOB integrationManageability, portal and LOB integration

Embedded Reporting Embedded Reporting Report processing included in Report processing included in applicationsapplications

Extensible, embeddable architectureExtensible, embeddable architecture

B2B ReportingB2B ReportingPartner reporting via extranets, InternetPartner reporting via extranets, Internet

Data isolation, extensible securityData isolation, extensible security

Page 8: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

User ProfilesUser Profiles

AnalystsAnalysts

Information Information ConsumersConsumers

Information Information ExplorersExplorers

5-10% of users5-10% of users

15-25% of users15-25% of users

65-80% of users65-80% of users

Reporting ServicesReporting Services

Analysis ServicesAnalysis Services

Page 9: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

AuthoringAuthoring ManagementManagement DeliveryDelivery

Reporting LifecycleReporting Lifecycle

SQL Server Reporting Services supports the full SQL Server Reporting Services supports the full reporting lifecycle, including Authoring, reporting lifecycle, including Authoring, Management and DeliveryManagement and Delivery

Page 10: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Report AuthoringReport Authoring

Report developers can create reports to be published to Report developers can create reports to be published to the Report Server using Microsoft or 3rd party design the Report Server using Microsoft or 3rd party design tools that support the Reporting Services XML Report tools that support the Reporting Services XML Report Definition Language (RDL)Definition Language (RDL)

ReportReportDefinitionDefinition

ReportReportDefinitionDefinition

DeliveryDeliveryChannelsChannels

OnlineOnlineAccessAccess

AuthoringAuthoring

AuthoringAuthoring ManagementManagement DeliveryDelivery

ManagedManagedReportReport

Page 11: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Report ManagementReport Management

Report definitions, folders, and resources are published Report definitions, folders, and resources are published and managed in a reporting web service; Managed and managed in a reporting web service; Managed reports can be executed either on-demand or via reports can be executed either on-demand or via schedule and are cached for consistency and performanceschedule and are cached for consistency and performance

ManagementManagement

ReportReportDefinitionDefinition

DeliveryDeliveryChannelsChannels

OnlineOnlineAccessAccess

AuthoringAuthoring ManagementManagement DeliveryDelivery

ManagedManagedReportReport

ManagedManagedReportReport

Page 12: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Report DeliveryReport Delivery

Reporting Services supports both on-demand Reporting Services supports both on-demand (“pull”) and event-based (“push”) delivery of (“pull”) and event-based (“push”) delivery of reports; Users can view reports from a web-based reports; Users can view reports from a web-based front-end or subscribe for reports to be delivered in front-end or subscribe for reports to be delivered in e-mail e-mail

DeliveryDelivery

ReportReportDefinitionDefinition

DeliveryDeliveryChannelsChannelsDeliveryDelivery

ChannelsChannels

OnlineOnlineAccessAccessOnlineOnlineAccessAccess

AuthoringAuthoring ManagementManagement DeliveryDelivery

ManagedManagedReportReport

Page 13: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Reporting BasicsReporting Basics

demodemo

Page 14: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

SQL Server CatalogSQL Server Catalog

Report ServerReport Server

Reporting Services ArchitectureReporting Services Architecture

URLURL WMIWMI Web ServiceWeb Service

Page 15: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

SQL Server CatalogSQL Server Catalog

Report ServerReport Server

Reporting Services ArchitectureReporting Services Architecture

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

URLURL WMIWMI Web ServiceWeb Service

Data RetrievalData Retrieval RenderingRendering

Page 16: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

SQL 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(NT, Passport, (NT, Passport,

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

URLURL WMIWMI Web ServiceWeb Service

Data RetrievalData Retrieval RenderingRendering

Page 17: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

SQL 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(NT, Passport, (NT, Passport,

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

URLURL WMIWMI Web ServiceWeb Service

Data RetrievalData Retrieval RenderingRendering

Page 18: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Report AuthoringReport Authoring

Powerful XML Report Definition LanguagePowerful XML Report Definition LanguageFreeform / Table / Matrix / ChartFreeform / Table / Matrix / ChartParameters (Dynamic, Hierarchical)Parameters (Dynamic, Hierarchical)Sorting / Filtering / Grouping / AggregatesSorting / Filtering / Grouping / AggregatesInteractivity (Drill-down, Drill-through)Interactivity (Drill-down, Drill-through)Full VB.NET Expression LanguageFull VB.NET Expression Language

Extensible query execution architectureExtensible query execution architectureSQL Server / Analysis ServicesSQL Server / Analysis ServicesOLE DB / ODBC / OracleOLE DB / ODBC / Oracle

Report DesignerReport DesignerIntegrated with Visual Studio .NET 2003Integrated with Visual Studio .NET 2003

Published definition enables 3rd party toolsPublished definition enables 3rd party tools

Page 19: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Report Definition Report Definition LanguageLanguage

demodemo

Page 20: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Report DeliveryReport Delivery

Single report definition can be rendered to Single report definition can be rendered to diverse output formatsdiverse output formats

Web Formats (HTML 4, HTML 3.2, HTML w/OWC)Web Formats (HTML 4, HTML 3.2, HTML w/OWC)Print Formats (TIFF, RTF, PDF)Print Formats (TIFF, RTF, PDF)Data Formats (Excel, XML, CSV)Data Formats (Excel, XML, CSV)

Personalized and administrator defined Personalized and administrator defined subscription and deliverysubscription and delivery

Ability to select output formats per subscriptionAbility to select output formats per subscriptionCan deliver links as well as rendered reportsCan deliver links as well as rendered reportsData-driven subscriptions for personal deliveryData-driven subscriptions for personal delivery

Extensible delivery provider architectureExtensible delivery provider architectureE-mail, File System, CustomE-mail, File System, Custom

Page 21: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Report ManagementReport Management

Web Service APIs for management Web Service APIs for management

Web and Win32 management user Web and Win32 management user interfacesinterfaces

Report Management FunctionsReport Management FunctionsReport Metadata (Name, Description, Report Metadata (Name, Description, Connections, Credentials, Parameters)Connections, Credentials, Parameters)

Scheduling integrated with SQL Server AgentScheduling integrated with SQL Server Agent

Execution properties (live, cache or snapshot)Execution properties (live, cache or snapshot)

History of prior executionsHistory of prior executions

Extensible, role-based security architectureExtensible, role-based security architecture

Page 22: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Report ManagementReport Management

demodemo

Page 23: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Programmatic InterfacesProgrammatic InterfacesCustomizable XML report definitionCustomizable XML report definition

Open Schema Open Schema

Viewing InterfacesViewing InterfacesURL AddressabilityURL Addressability

Web Service / SOAPWeb Service / SOAP

Management InterfacesManagement InterfacesWeb Service / SOAPWeb Service / SOAP

WMI InterfaceWMI Interface

Extension InterfacesExtension InterfacesData, Delivery, Rendering and SecurityData, Delivery, Rendering and Security

Page 24: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

URL AddressabilityURL AddressabilityVirtual Roots Virtual Roots

Report ServerReport Serverhttp://[http://[servernameservername]/ReportServer]/ReportServer

Web Service InterfaceWeb Service Interface

Parameter directivesParameter directives

Report Server Web ApplicationReport Server Web Applicationhttp://[http://[servernameservername]/Reports]/Reports

SSL SupportSSL Support

Fully localizedFully localizedBased on language in HTTP headerBased on language in HTTP header

Page 25: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

URL Parameter DirectivesURL Parameter Directives

Report ParametersReport ParametersParameter names must match report definitionParameter names must match report definitionExample:Example:http://servername/ReportServer/ReportName?http://servername/ReportServer/ReportName?CategoryID=1&EmployeeID=1CategoryID=1&EmployeeID=1

User Credentials (dsu: and dsp:)User Credentials (dsu: and dsp:)Credentials for each report data setCredentials for each report data setExample:Example:https://servername/ReportServer/ReportName?https://servername/ReportServer/ReportName?dsu:DataSet1=MyUserName&dsu:DataSet1=MyUserName&dsp:DataSet1=MyPassworddsp:DataSet1=MyPasswordCan also use HTTPS POSTCan also use HTTPS POSTUse Secure Protocols!Use Secure Protocols!

Page 26: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

URL Parameter DirectivesURL Parameter Directives

Report Server Parameters (rs:)Report Server Parameters (rs:)Performance optimization avoids item type Performance optimization avoids item type checkcheck

Example:Example:

http://servername/ReportServer/ReportName?http://servername/ReportServer/ReportName?rs:Command=Renderrs:Command=Render

Rendering Device Info (rc:)Rendering Device Info (rc:)Name/Values pairs specifying information about Name/Values pairs specifying information about the format being rendered to (i.e., FindString, the format being rendered to (i.e., FindString, Section, Zoom, etc.)Section, Zoom, etc.)

Unique per Rendering ExtensionUnique per Rendering Extension

Example:Example:

http://servername/ReportServer/ReportName?http://servername/ReportServer/ReportName?rc:Section=7&rc:HTMLFragment=truerc:Section=7&rc:HTMLFragment=true

Page 27: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Web Service InterfacesWeb Service Interfaces

Namespace Namespace ManagementManagement

Item Properties Item Properties

Report ExecutionReport Execution

Report ParametersReport Parameters

Report HistoryReport History

Data Source Data Source ManagementManagement

SchedulingScheduling

Subscriptions and Subscriptions and DeliveryDelivery

Linked ReportsLinked Reports

Job ManagementJob Management

Security Security ManagementManagement

Page 28: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Getting StartedGetting StartedWeb Service Reference Web Service Reference

http://[http://[servernameservername]/ReportServer/]/ReportServer/Reportservice.asmx?wsdlReportservice.asmx?wsdl

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

SOAP HeadersSOAP HeadersSession IDSession IDServer InfoServer InfoBatch IDBatch ID

Page 29: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Web Service WSDLWeb Service WSDL

demodemo

Page 30: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Getting StartedGetting StartedWeb Service - AuthenticationWeb Service - Authentication

AuthenticationAuthenticationBasic AuthenticationBasic Authentication

System.Net.NetworkCredentialsSystem.Net.NetworkCredentials

Dim rs As New MyServer. RSWebService()Dim rs As New MyServer. RSWebService()‘ ‘ Prompt user for credentialsPrompt user for credentials

rs.Credentials = new System.Net.NetworkCredential ("user", rs.Credentials = new System.Net.NetworkCredential ("user", "pwd", "domain") "pwd", "domain")

Integrated AuthenticationIntegrated AuthenticationSystem.Net.CredentialCacheSystem.Net.CredentialCache

Dim rs As New MyServer. RSWebService()Dim rs As New MyServer. RSWebService()rs.Credentials = rs.Credentials =

System.Net.CredentialCache.DefaultCredentialsSystem.Net.CredentialCache.DefaultCredentials

Page 31: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

WMI ConfigurationWMI Configuration

Manage Report Server ConfigurationManage Report Server ConfigurationReport Server Instance NameReport Server Instance NameReport Server and Report Server Web Report Server and Report Server Web Application virtual directoryApplication virtual directoryReport Server Database Connectivity Report Server Database Connectivity InformationInformation

WMI syntax supportedWMI syntax supportedPer Property GetsPer Property GetsPuts (Create and Update)Puts (Create and Update)EnumerationEnumerationQueryQuery

Configuration Only - No WMI events in first Configuration Only - No WMI events in first releaserelease

Page 32: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Extending the Report Extending the Report ServerServer

Extensions provide a way to extend the Extensions provide a way to extend the Reporting Services PlatformReporting Services Platform

Managed code runs in server processManaged code runs in server processPublished CLR interfacesPublished CLR interfaces

Extension TypesExtension TypesData – Communicates to data sources and Data – Communicates to data sources and returns datareturns dataDelivery – Delivers reports over different Delivery – Delivers reports over different protocols and to different devicesprotocols and to different devicesRendering – Renders to specific formats and Rendering – Renders to specific formats and devicesdevicesSecurity – Provides a means to authorize users Security – Provides a means to authorize users to custom authorization schemes to custom authorization schemes

Page 33: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Partner SupportPartner Support

Cizer, HitachiCizer, Hitachi

Page 34: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Key DifferentiatorsKey Differentiators

Full Reporting PlatformFull Reporting PlatformAll server components are extensibleAll server components are extensible

Completely embeddableCompletely embeddable

Published, extensible report definitionPublished, extensible report definition

Scalability and PerformanceScalability and PerformanceDesigned from day one to be a .NET Designed from day one to be a .NET web serviceweb service

Web farm architectureWeb farm architecture

Optimized processing and renderingOptimized processing and rendering

Reports execute as CLR assembliesReports execute as CLR assemblies

Page 35: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

Next StepsNext Steps

Download the eval!Download the eval!

Page 36: Introducing SQL Server 2000 Reporting Services Geoff Snowman Developer Community Champion gsnowman@microsoft.com Microsoft Corporation

© 2003 Microsoft Corporation. All rights reserved.© 2003 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.