50
Microsoft SQL Server Microsoft SQL Server 2000 Reporting Services 2000 Reporting Services Microsoft Corporation Microsoft Corporation

TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Embed Size (px)

Citation preview

Page 1: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Microsoft SQL Server 2000 Microsoft SQL Server 2000 Reporting ServicesReporting Services

Microsoft CorporationMicrosoft Corporation

Page 2: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

What we will cover:What we will cover:

ArchitectureArchitecture Creating reportsCreating reports Importing reportsImporting reports Publishing reportsPublishing reports Viewing reportsViewing reports SubscriptionsSubscriptions

Page 3: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

PrerequisitePrerequisite Knowledge Knowledge

Experience administering SQL ServerExperience administering SQL Server Experience administering IISExperience administering IIS Experience generating database reportsExperience generating database reports Familiarity with Visual Studio.NETFamiliarity with Visual Studio.NET

Level 300Level 300

Page 4: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

AgendaAgenda

Architecture and DeploymentArchitecture and Deployment Creating ReportsCreating Reports Managing ReportsManaging Reports

Page 5: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

What is SQL Server Reporting What is SQL Server Reporting Services?Services?

Reporting platform for both traditional and Reporting platform for both traditional and interactive reports interactive reports

Scalable, manageable and embeddable server Scalable, manageable and embeddable server infrastructureinfrastructure

Integrated with SharePoint, Office Integrated 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)

Page 6: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

SQL Server BI PlatformSQL Server BI Platform

Analysis ServicesAnalysis ServicesOLAP & Data MiningOLAP & Data Mining

Data TransformationData TransformationServicesServices

ETLETL

SQL ServerSQL ServerRelational EngineRelational Engine

Reporting ServicesReporting ServicesM

anag

emen

t To

ols

Man

agem

ent T

oo

lsD

evel

op

men

t T

oo

lsD

evel

op

men

t T

oo

ls

Page 7: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

AuthoringAuthoring ManagementManagement DeliveryDelivery

Reporting Services is an open and extensible platform supporting the authoring, management and delivery of rich, interactive reports to the entire enterprise.

Reporting LifecycleReporting Lifecycle

Page 8: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Architecture and DeploymentArchitecture and DeploymentIntroduction to Reporting ServicesIntroduction to Reporting Services

Browser Custom AppManagement

SQL Server Catalog

Report Server

DeliverySecurity

Report Processing

URL WMI Web Service

Data Retrieval Rendering

Data Sources(SQL, OLE DB, ODBC,

Oracle, Custom)

Delivery Targets(E-mail, File share,

Custom)

Output Formats (HTML, Excel, PDF, Custom)

Page 9: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Data Source

Scheduling and Delivery Processing

Delivery Extensions

Request Handler

Report Processor

Rendering Extensions

Data Processing Extensions

Report Server

Architecture and DeploymentArchitecture and DeploymentArchitecture and ComponentsArchitecture and Components

Report Manager

Report Designer

Connection Management

Tool

Third-Party ToolsBrowser

Report Server DB

Page 10: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Architecture and DeploymentArchitecture and DeploymentReport ProcessingReport Processing

Snapshot or Report History

Report Definition

On-demand Access

Scheduled or Push Access

Data

Layout

Intermediate Format

Rendered page in HTML, PDF or other format

Page 11: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Architecture and DeploymentArchitecture and DeploymentReporting Services Client ComponentsReporting Services Client Components

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

Web BrowserWeb Browser View and Manage ReportsView and Manage Reports

Third Party ToolsThird Party Tools ManagementManagement AuthoringAuthoring Supported through open interfaces or Web Supported through open interfaces or Web

Services APIServices API

Page 12: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Architecture and DeploymentArchitecture and DeploymentReport AuthoringReport Authoring

ReportReportDefinitionDefinition

ReportReportDefinitionDefinition

AuthoringAuthoring ManagementManagement

ManagedManagedReportReport

ReportReportDefinitionDefinition

AuthoringAuthoring ManagementManagement

ManagedManagedReportReport

ManagedManagedReportReport

DeliveryDeliveryChannelsChannelsDeliveryDelivery

ChannelsChannels

OnlineOnlineAccessAccessOnlineOnlineAccessAccess

DeliveryDelivery

Create Reports with RDL

Create Reports with RDL

Report resources published/managed as

Web Service

Report resources published/managed as

Web Service

Supports pull and push delivery of

reports

Page 13: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Architecture and DeploymentArchitecture and DeploymentSmall DeploymentSmall Deployment

Report Manager

Report Server

Report Server Database

Report Designer

Server

Client

Page 14: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Architecture and DeploymentArchitecture and DeploymentMedium DeploymentMedium Deployment

Report Manager

Report Server

Report Server Database

Report Designer

Server A

Client

Server B

Page 15: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Architecture and DeploymentArchitecture and DeploymentLarge Deployment Large Deployment

Clients

Report Server Report Server Report Server

Report Server Web Farm

Data Sources

Report Server Database

Report Server Database

SQL Server Cluster

Page 16: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

AgendaAgenda

Architecture and DeploymentArchitecture and Deployment Creating ReportsCreating Reports Managing ReportsManaging Reports

Page 17: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Creating ReportsCreating ReportsVisual Studio .NET IntegrationVisual Studio .NET Integration

Page 18: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Creating ReportsCreating ReportsReport Definition Language (RDL)Report Definition Language (RDL)

Report Definition Language – XML Report Definition Language – XML schema containsschema contains Data source informationData source information Layout Layout Report PropertiesReport Properties

Definitions stored in Report Server Definitions stored in Report Server DatabaseDatabase

Can create tools that use RDLCan create tools that use RDL

Page 19: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Creating ReportsCreating ReportsReport Creation ProcessReport Creation Process

Connect to the data sourceConnect to the data source SQL Server, Analysis Services, Oracle, SQL Server, Analysis Services, Oracle,

ODBC and OLE DBODBC and OLE DB Specify the querySpecify the query Arrange the report items on the pageArrange the report items on the page

Page header, page footer and bodyPage header, page footer and body Preview the resultsPreview the results Publish the reportPublish the report

Page 20: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Report ItemsReport Items

TextboxTextbox ImageImage LineLine RectangleRectangle SubreportSubreport Data Regions (List, Table, Matrix, Chart)Data Regions (List, Table, Matrix, Chart) Custom Report Items coming in Custom Report Items coming in

SQL Server 2005!SQL Server 2005!

$100,000$100,000

Page 21: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Item StylesItem Styles

All Report ItemsAll Report Items Background ColorBackground Color Background ImageBackground Image Border ColorBorder Color Border StyleBorder Style Border WidthBorder Width PaddingPaddingChartsCharts Background Background

GradientGradient

TextboxesTextboxes ColorColor Font FamilyFont Family Font SizeFont Size Font StyleFont Style Font WeightFont Weight FormatFormat Line HeightLine Height Text AlignText Align Text DecorationText Decoration Vertical AlignVertical Align

Page 22: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

ListsLists

Repeating regions Repeating regions with freeform layoutwith freeform layout

Similar to “bands” in Similar to “bands” in other report writersother report writers But multiple lists can But multiple lists can

sit side-by-side!sit side-by-side! Lists inside lists to Lists inside lists to

get multiple levels get multiple levels of groupingof grouping

Use for complex Use for complex repeating areasrepeating areas

BrianBrian

JasonJason

SteveSteve

$10,000$10,000

$20,000$20,000

$30,000$30,000

Page 23: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

TablesTables

Like lists with columnsLike lists with columns Fixed columns, Fixed columns,

repeating rowsrepeating rows Table cells can Table cells can

span columnsspan columns Multiple table rows Multiple table rows

per recordper record Table cells can contain Table cells can contain

any report itemany report item Faster and smaller than Faster and smaller than

listslists Easier to align itemsEasier to align items Use for most reportsUse for most reports

$80,000$80,000Grand TotalGrand Total$50,000$50,000EastEastTotalTotal

$30,000$30,000NorthNorthTotalTotal

SalesRegionPerson

$50,000$50,000EastEastSteveSteve

$20,000$20,000NorthNorthDanDan

$10,000$10,000NorthNorthBrianBrian

Page 24: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

MatricesMatrices

Repeats in row and Repeats in row and column directionscolumn directions

Also known as pivot Also known as pivot table or cross tabtable or cross tab

Arbitrary formatting Arbitrary formatting in headersin headers

Different formatting Different formatting for subtotalsfor subtotals

Matrix cells can contain Matrix cells can contain any report itemany report item

Use when column Use when column headings are records in headings are records in your datayour data

$720$720$760$760$600$600Total

$300 $300 $400 $400 $300 $300 Steve

$300 $300 $250 $250 $200 $200 Jason

$120 $120 $110 $110 $100 $100 Brian

200220022001200120002000SalesSales

Page 25: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

ChartsCharts

Data from fields in Data from fields in the data setthe data set or from expressionsor from expressions

Full set of chart Full set of chart properties and typesproperties and types Style enhancementsStyle enhancements

in SP1in SP1

Same data functionality Same data functionality as Matrixas Matrix

Page 26: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Creating ReportsCreating ReportsPreviewing and Publishing ReportsPreviewing and Publishing Reports

Debug – PreviewDebug – Preview View reports in local preview windowView reports in local preview window

Production – PublishProduction – Publish Publish reports to a production report Publish reports to a production report

serverserver

Page 27: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Creating ReportsCreating Reports

demonstrationdemonstration

Page 28: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

AgendaAgenda

Architecture and DeploymentArchitecture and Deployment Creating ReportsCreating Reports Managing ReportsManaging Reports

Page 29: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Managing ReportsManaging ReportsReport ManagerReport Manager

View, Search and Subscribe to ReportsView, Search and Subscribe to Reports Create and manage:Create and manage:

FoldersFolders Linked reportsLinked reports Report historyReport history SchedulesSchedules Data source connectionsData source connections SubscriptionsSubscriptions

Set properties and report parametersSet properties and report parameters Manage role definitions and assignmentsManage role definitions and assignments

Page 30: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Managing ReportsManaging ReportsReport ManagerReport Manager

Page 31: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Managing ReportsManaging ReportsViewing ReportsViewing Reports

Reports can be rendered in:Reports can be rendered in: HTMLHTML

HTML with Office Web ComponentsHTML with Office Web Components

XMLXML CSVCSV ExcelExcel Image – such as TIFFImage – such as TIFF Acrobat PDF fileAcrobat PDF file

Page 32: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Managing ReportsManaging ReportsReport SubscriptionsReport Subscriptions

Page 33: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Managing ReportsManaging ReportsReport Execution ProcessingReport Execution Processing

On DemandOn Demand On Demand From CacheOn Demand From Cache

Removed from cache at defined intervalsRemoved from cache at defined intervals

From SnapshotsFrom Snapshots Query is separate from render Query is separate from render

Page 34: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Managing ReportsManaging ReportsSecuring the Report Server and ReportsSecuring the Report Server and Reports

Reporting Server SecurityReporting Server Security Uses IIS securityUses IIS security Windows securityWindows security

User PermissionsUser Permissions Windows securityWindows security Role-based authorizationRole-based authorization

Page 35: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

URL Parameter DirectivesURL Parameter Directives SyntaxSyntax

http://http://serverserver//virtualrootvirtualroot? /reportpath &? /reportpath &prefixprefix:param:param Report Server Parameters (Report Server Parameters (rsrs:):)

http://http://localhost/reportserver?/localhost/reportserver?/SampleReports&rs:CommandSampleReports&rs:Command =ListChildren=ListChildrenhttp://localhost/reportserver?/SampleReports/Employee+Sales+Summaryhttp://localhost/reportserver?/SampleReports/Employee+Sales+Summary&rs:Command&rs:Command

==Render&EmpIDRender&EmpID=26=26

http://localhost/reportserver?/SampleReports/Product+Line+Sales&rs:Forhttp://localhost/reportserver?/SampleReports/Product+Line+Sales&rs:Formatmat=Excel&rs:Command=Render=Excel&rs:Command=Render

Rendering Device Info (Rendering Device Info (rcrc:):) Name/Values pairs specifying information about the format being Name/Values pairs specifying information about the format being

rendered to (i.e., FindString, Section, Zoom, etc.)rendered to (i.e., FindString, Section, Zoom, etc.) Example find 7Example find 7thth page: page:

http://localhost/ReportServer?/SampleReports/Product+Catalog&rc:Sectionhttp://localhost/ReportServer?/SampleReports/Product+Catalog&rc:Section=7&rc:HTMLFragment=true=7&rc:HTMLFragment=true

Page 36: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Managing ReportsManaging Reports

demonstrationdemonstration

Page 37: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Reporting Services SummaryReporting Services Summary

Supports the full reporting life cycleSupports the full reporting life cycle Highly scalableHighly scalable You do not need to know RDL to create You do not need to know RDL to create

a report definitiona report definition Supports several data sources Supports several data sources Reports can be rendered in a variety of Reports can be rendered in a variety of

formatsformats Reports can be executed on demand or Reports can be executed on demand or

cached for quicker accesscached for quicker access

Page 38: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

For More Information…For More Information…

Main TechNet Web site at Main TechNet Web site at www.microsoft.com/technetwww.microsoft.com/technet

Page 39: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

For More Information…For More Information…

Microsoft SQL 2000 Reporting ServicesMicrosoft SQL 2000 Reporting Serviceswww.microsoft.com/sql/reportingwww.microsoft.com/sql/reporting

Reporting Services Tech OverviewReporting Services Tech Overviewwww.microsoft.com/sql/reporting/techinfowww.microsoft.com/sql/reporting/techinfo

Page 40: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Developer ProductivityDeveloper Productivity .NET Framework hosting.NET Framework hosting Native XML technologyNative XML technology Integrated web servicesIntegrated web services Distributed application frameworkDistributed application framework

Business IntelligenceBusiness Intelligence Comprehensive ETL platformComprehensive ETL platform Real time analyticsReal time analytics Accessible, easy data miningAccessible, easy data mining Rich, integrated reportingRich, integrated reporting

Enterprise Data ManagementEnterprise Data Management Flexible, manageable, scalableFlexible, manageable, scalable Improved serviceability Improved serviceability Self optimization and tuningSelf optimization and tuning Fast recovery and restoreFast recovery and restore

Secure, Quality DatabaseSecure, Quality Database 3 years in development3 years in development Multiple security reviewsMultiple security reviews Secure by defaultSecure by default Large private beta for early qualityLarge private beta for early quality

Page 41: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

MS PressMS PressInside information for IT ProfessionalsInside information for IT Professionals

To find the latest titles, visitTo find the latest titles, visit

www.microsoft.com/learning/books/www.microsoft.com/learning/books/

Page 42: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

3rd Party Publications3rd Party PublicationsSupplementary publications for IT ProsSupplementary publications for IT Pros

These books can be found and purchased at all major These books can be found and purchased at all major book stores and online retailersbook stores and online retailers

Page 43: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Microsoft LearningMicrosoft LearningTraining Resources for IT ProfessionalsTraining Resources for IT Professionals

Creating Reporting Solutions using Microsoft SQL Creating Reporting Solutions using Microsoft SQL Server 2000 Reporting Services Server 2000 Reporting Services

Course Number: 2030Course Number: 2030 Available Now Available Now Detailed Syllabus: www.microsoft.com/learningDetailed Syllabus: www.microsoft.com/learning

To locate a training provider, please accessTo locate a training provider, please access

www.microsoft.com/learning

Page 44: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Assess your ReadinessAssess your ReadinessMicrosoft Skills AssessmentMicrosoft Skills Assessment

What is Microsoft Skills Assessment?What is Microsoft Skills Assessment? Self-study learning tool to evaluate readiness for product and Self-study learning tool to evaluate readiness for product and

technology solutions, instead of job-roles (certification)technology solutions, instead of job-roles (certification) Windows Server 2003Windows Server 2003, , Exchange Server 2003, Windows Storage Exchange Server 2003, Windows Storage

Server 2003, Visual Studio .NET, Office 2003Server 2003, Visual Studio .NET, Office 2003 Free, online, unproctored, and available to anyoneFree, online, unproctored, and available to anyone Answers the question: “Am I ready?”Answers the question: “Am I ready?” Determines skills gaps and provides learning plans with Determines skills gaps and provides learning plans with

Microsoft Official Curriculum courses Microsoft Official Curriculum courses Post your High Score to see how you stack upPost your High Score to see how you stack up

visitvisit www.microsoft.com/assessmentwww.microsoft.com/assessment

Page 45: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Become a Microsoft Certified Become a Microsoft Certified Systems Administrator (MCSA)Systems Administrator (MCSA) What is the MCSA certification?What is the MCSA certification?

For For IT professionals who manage and maintain IT professionals who manage and maintain networks and systems based on Microsoft networks and systems based on Microsoft Windows ServerWindows Server

How do I become an MCSA on Microsoft How do I become an MCSA on Microsoft Windows Server 2003?Windows Server 2003? Pass 3 core examsPass 3 core exams Pass 1 elective exam or 2 CompTIA certificationsPass 1 elective exam or 2 CompTIA certifications

Where do I get more information?Where do I get more information?

www.microsoft.com/mcsawww.microsoft.com/mcsa

Page 46: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Become A Microsoft Certified Become A Microsoft Certified Systems Engineer (MCSE)Systems Engineer (MCSE)

What is the MCSE certification?What is the MCSE certification? Premier certification for IT Premier certification for IT pros who analyze the pros who analyze the

requirements, design, plan, and implement the requirements, design, plan, and implement the infrastructure for business solutions based on the infrastructure for business solutions based on the Microsoft Windows Server SystemMicrosoft Windows Server System

How do I become an MCSE on Microsoft How do I become an MCSE on Microsoft Windows 2003?Windows 2003? Pass 6 core examsPass 6 core exams Pass 1 elective exams from a comprehensive listPass 1 elective exams from a comprehensive list

Where do I get more information?Where do I get more information?

www.microsoft.com/www.microsoft.com/mcsemcse

Page 47: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Demonstrate Your Security or Demonstrate Your Security or Messaging SpecializationMessaging Specialization

What are MCSA/MCSE specializations?What are MCSA/MCSE specializations? Allows IT professionals to highlight specific expertiseAllows IT professionals to highlight specific expertise

within their job rolewithin their job role

Which specializations are available?Which specializations are available? MCSA: SecurityMCSA: Security MCSA: MessagingMCSA: Messaging MCSE: SecurityMCSE: Security MCSE: MessagingMCSE: Messaging

Where do I get more information?Where do I get more information?

www.microsoft.com/www.microsoft.com/mcsamcsa oror www.microsoft.com/mcsewww.microsoft.com/mcse

Page 48: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

What is TechNet?What is TechNet? Put the right answers at your fingertipsPut the right answers at your fingertips

The comprehensive collection of resources to help IT prosThe comprehensive collection of resources to help IT prosplan, deploy and manage Microsoft products successfullyplan, deploy and manage Microsoft products successfully

Monthly updates delivered on DVD or CD The definitive resource to help you evaluate, deploy and

maintain Microsoft products

TechNet Subscription

Accessible at www.microsoft.com/technet Online resources and community Subscriber-only Online Services

TechNet Web Site

Biweekly e-newsletter Security updates, new resources, and special offers

TechNet Flash

Briefings on the latest Microsoft products and technologies Hands-on, “how to” information

TechNet Eventsand Webcasts

User GroupsManaged Newsgroups

TechNet Communities

Page 49: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation

Where Where CanCan I Get TechNet? I Get TechNet?

Visit TechNet online atVisit TechNet online atwww.microsoft.com/technetwww.microsoft.com/technet

Register for the TechNet Flash Register for the TechNet Flash /technet/abouttn/subscriptions/flash_register.mspx/technet/abouttn/subscriptions/flash_register.mspx

Join the TechNet online forum at Join the TechNet online forum at www.microsoft.com/technet/communitywww.microsoft.com/technet/community

Become a TechNet subscriber at Become a TechNet subscriber at www.microsoft.com/technet/abouttn/Subscriptionswww.microsoft.com/technet/abouttn/Subscriptions

Attend more TechNet events or view onlineAttend more TechNet events or view onlinewww.microsoft.com/technet/community/eventswww.microsoft.com/technet/community/events

Page 50: TNT1-105. Microsoft SQL Server 2000 Reporting Services Microsoft Corporation