1. Trang chủ
  2. » Công Nghệ Thông Tin

Sams Microsoft SQL Server 2008- P1

50 453 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Microsoft SQL Server 2008 Reporting Services Unleashed
Tác giả Michael Lisin, Jim Joseph, Amit Goyal
Người hướng dẫn Karen Gettman, Editor-in-Chief, Neil Rowe, Executive Editor, Brook Farling, Acquisitions Editor, Mark Renfrow, Development Editor, Patrick Kanouse, Managing Editor, Seth Kerney, Project Editor, Keith Cline, Copy Editor, Ken Johnson, Indexer, Geneil Breeze, Proofreader, J. Boyd Nolan, Technical Editor, Prash Shirolkar, Technical Contributor, Cindy Teeters, Publishing Coordinator, Gary Adair, Book Designer, Mark Shirar, Composition
Trường học Sams Publishing
Chuyên ngành Microsoft SQL Server
Thể loại Book
Năm xuất bản 2010
Thành phố Indianapolis
Định dạng
Số trang 50
Dung lượng 1,32 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Part I Introduction to Reporting Services 1 Introduction to SQL Server Reporting Services SSRS 5 What Is SSRS?...6 SSRS for End Users ...6 Overview of Features...8 Enterprise Report Exam

Trang 1

2008 Reporting

Services

U N L E A S H E D

800 East 96th Street, Indianapolis, Indiana 46240 USA

Jim Joseph Amit Goyal

From the Library of STEPHEN EISEMANPlease purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 2

All rights reserved No part of this book shall be reproduced, stored in a retrieval

system, or transmitted by any means, electronic, mechanical, photocopying, recording,

or otherwise, without written permission from the publisher No patent liability is

assumed with respect to the use of the information contained herein Although every

precaution has been taken in the preparation of this book, the publisher and author

assume no responsibility for errors or omissions Nor is any liability assumed for

damages resulting from the use of the information contained herein.

ISBN-13: 978-0-672-33026-1

ISBN-10: 0-672-33026-1

Library of Congress Cataloging-in-Publication data is on file.

Printed in the United States of America

First Printing July 2009

Trademarks

All terms mentioned in this book that are known to be trademarks or service marks

have been appropriately capitalized Sams Publishing cannot attest to the accuracy of

this information Use of a term in this book should not be regarded as affecting the

validity of any trademark or service mark.

Warning and Disclaimer

Every effort has been made to make this book as complete and as accurate as

possi-ble, but no warranty or fitness is implied The information provided is on an “as is”

basis The authors and the publisher shall have neither liability nor responsibility to any

person or entity with respect to any loss or damages arising from the information

contained in this book.

Bulk Sales

Pearson offers excellent discounts on this book when ordered in quantity for bulk

purchases or special sales For more information, please contact:

U.S Corporate and Government Sales

J Boyd NolanTechnical ContributorPrash ShirolkarPublishingCoordinatorCindy TeetersBook DesignerGary AdairCompositionMark Shirar

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 3

Introduction 1

Part I Introduction to Reporting Services 1 Introduction to SQL Server Reporting Services (SSRS) 5

2 Reporting Services 2008 Architecture 23

3 Getting Started with Reporting Services Tools 43

4 What's New in SQL Server Reporting Services 2008 55

5 Reporting Services Deployment Scenarios 79

6 Installing Reporting Services 99

Part II Report Authoring from Basic to Advanced 7 Report Server Project Wizard 111

8 Report Designer(s) 119

9 Report Definition Language 137

10 Expressions 151

11 Accessing Data 179

12 Report Parameters 197

13 Working with Report Items 207

14 Grouping, Sorting, Aggregating Data, and Working with Scope 251

15 Advanced Report Formatting 263

16 Report Navigation 283

17 Working with Multi-Dimensional Sources 295

18 Ad Hoc Reporting 327

Part III Reporting Services Management 19 Managing Reports, Data Sources, and Models 361

20 Securing Report Server Items 377

21 Report Execution and Processing 389

22 Subscribing to Reports 401

23 SSRS Administration 411

24 RS Utility 427

Part IV Reporting Services Customizations 25 Implementing Custom Embedded Functions 433

From the Library of STEPHEN EISEMAN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 4

26 Creating and Calling a Custom Assembly from a Report 441

27 Using URL Access 465

28 Using Reporting Services Web Services 475

29 Extending Reporting Services 499

Part V SharePoint Integration 30 Reporting Services Integration with SharePoint 519

31 SSRS 2008 SharePoint Integration Architecture 527

32 Installation of Reporting Services Integrated with SharePoint 535

33 SharePoint Mode Administration 545

34 Tools Support for SSRS Integrated with SharePoint 557

35 Viewing Reports in SharePoint 565

36 Managing Reports in SharePoint 573

37 Ad Hoc Reporting in SharePoint 589

Part VI Appendixes A References and Additional Reading 597

B Glossary 601

C Frequently Asked Questions and Additional Information 613

D What's New in SQL Server SP1? 617

E What's New in SQL Server 2008 R2? 623

Index 624

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 5

Part I Introduction to Reporting Services

1 Introduction to SQL Server Reporting Services (SSRS) 5

What Is SSRS? 6

SSRS for End Users 6

Overview of Features 8

Enterprise Report Examples 9

SSRS in the Report Development Life Cycle 10

Authoring Stage 10

Managing Stage 14

Delivery Stage 18

Editions of Reporting Services 21

How Is SSRS Licensed? 21

Summary 22

2 Reporting Services 2008 Architecture 23 Removal of IIS Dependency and Impact on SSRS 24

SSRS Windows Service 25

Memory Management 26

Programmatic Interfaces 29

Report Processor 29

Command-Line Utilities 30

Reporting Services Extensions 31

Data-Processing Extensions 31

Delivery Extensions 32

Rendering Extensions 32

Security Extensions 33

Report Server Databases 33

Scheduling and Delivery Processor 34

Report Builder 1.0 35

Report Model Designer 36

Report Builder 2.0 36

Report Designer 37

Report Manager 38

SQL Server Management Studio 38

From the Library of STEPHEN EISEMAN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 6

Reporting Services Configuration Tool 39

RSPrintClientControl 39

WMI Provider 39

Performance Monitoring Objects 39

Summary 40

3 Getting Started with Reporting Services Tools 43 Report Manager 43

Business Intelligence Development Studio 44

Report Designer 46

Report Builder 1.0 46

Report Builder 2.0 48

Reporting Services Configuration Manager 50

SQL Server Management Studio 51

Summary 53

4 What’s New in SQL Server Reporting Services 2008 55 Report Server Architecture Changes 56

Reporting Services Configuration Manager 58

SQL Server Management Studio Updates for Administrators 58

Report Manager Update 62

Report Engine Architecture Changes 63

Report-Processing Scalability Enhancements 65

Report-Rendering Enhancements 67

ReportViewerControl Enhancements 69

Report Designer Enhancements 69

Report Builder 2.0 69

Tablix 70

Data-Visualization Controls 71

Rich-Text Support 73

RDL Enhancements 73

Teradata as a Data Source 74

SharePoint Integration Enhancements 74

Programming and API Changes 75

Upgrading from Earlier Versions 76

Summary 77

5 Reporting Services Deployment Scenarios 79 High-Availability Deployment Considerations 81

Overview of Deployment Scenarios 82

Advantages/Disadvantages of the Standard Model 83

Advantages/Disadvantages of the Scale-Out Model 85 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 7

Requirements for a Standard Deployment 85

Requirements for a Scale-Out Deployment 86

Overview of Report Server Initialization 86

Internet Deployment Considerations 87

Internet Deployment Option 1: Enable Report Server for Anonymous Access 88

Internet Deployment Option 2: Deploy Report Server with Windows Authentication 88

Internet Deployment Option 3: Use the Programmatic Approach 89

Enabling a Report Manager for Internet Access 90

Minimum Hardware Requirements 91

Software Requirements 92

Key Features of SSRS 2008 Editions 95

Licensing 97

Summary 97

6 Installing Reporting Services 99 Summary 109

Part II Report Authoring from Basic to Advanced 7 Report Server Project Wizard 111 Sample Database Setup 111

Using the Report Server Project Wizard to Create a Simple Report 112

Summary 118

8 Report Designer(s) 119 Three Main Report Designers from Microsoft 119

Visual Studio Haves Versus Have Nots 121

Solution, Project, File Hierarchy 121

Generating Reports with Visual Studio 122

Design Screen 131

Summary 135

9 Report Definition Language 137 Language: A Way to Communicate 137

Use of XML 138

Declarative Programming 138

Report Elements 139

ReportElement 140

ReportParametersElement 140

DataSets Element 144

From the Library of STEPHEN EISEMAN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 8

ReportItemsElement 148

Data Regions 150

Summary 150

10 Expressions 151 What Is an Expression? 151

Expression Syntax 152

Adding Expressions 155

Collections 158

DataSetsCollection (New in 2008) 158

DataSourcesCollection (New in 2008) 159

FieldsCollection 160

GlobalsCollection 161

ParametersCollection 162

ReportItemsCollection 163

UserCollection 163

VariablesCollection (New in 2008) 164

Using Functions 165

Visual Basic Runtime Functions 165

Aggregate Functions 170

Other Functions 173

Expression and Built-In Function Security 174

Using Expressions to Change Report Item Properties 175

Emphasizing Certain Values 176

Summary 177

11 Accessing Data 179 Data-Processing Extensions 180

Types of Data Sources 180

Report-Specific Data Sources 181

Shared Data Sources 181

Data Source Expressions 181

Data Source Credentials 182

Connection Strings 183

Querying Data 186

Graphical Query Designer 186

Generic Query Designer 187

Data Set Properties 188

Command Type 189

Parameters 190

Querying XML 192

Fields 193 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 9

Fields and XML 194

Filters 195

Adding a Data Source 195

Summary 195

12 Report Parameters 197 Setting Up Parameters 198

Parameter Properties 199

Data-Driven Parameters 200

Expressions with Parameters 201

Dynamic SQL with Parameters 202

Parameter Dependencies 202

Using Multivalue Parameters 203

Example of Using Multivalue Dependent Parameters 203

Summary 206

13 Working with Report Items 207 Data Regions, Containers, and Independent Report Items 208

Report Designer’s Toolbox 210

Line Report Item 211

Rectangle Report Item 211

Image Report Item 211

Textbox Report Item (Improved in 2008) 214

Tablix (New in 2008) = Table, Matrix, List 219

Formatting Tablix 230

Practical Application of Report Items 232

Chart Report Item (Improved in 2008) 235

Chart Data (Value) 236

Chart Series 239

Chart Category 240

Chart Areas 240

Chart’s RDL 241

Best Practices 242

Practical Application of a Chart 243

Gauge Report Item 246

Report Body Versus Page Header/Footer 248

Summary 248

14 Grouping, Sorting, Aggregating Data, and Working with Scope 251 Grouping Data on a Report 251

Sorting, Including Interactive Sorting and Data Source Sorting 254

Data Source Sorting 254

From the Library of STEPHEN EISEMAN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 10

Data Region and Group Sorting 255

Interactive User Sorting 256

Scope Parameter of Aggregate Functions 258

Level andInScopeFunctions 260

Summary 261

15 Advanced Report Formatting 263 Formatting-Related Report Item Properties 264

Formatting Numeric and Date/Time Values 267

Standard Numeric Format Strings 268

Custom Numeric Format Strings 270

Standard Date/Time Format Strings 272

Custom Date/Time Formatting 273

Creating Alternating Colors for the Lines on a Report 276

Paging Report (Improved in 2008) 277

PageHeightandPageWidth: Physical Page Sizing 278

InteractiveHeightandInteractiveWidth 278

PageBreak(New in 2008) 279

Columns Property: A Way to Multicolumn Reports 280

Advanced Group Properties: RepeatOnNewPage,KeepTogether (New in 2008), KeepWithGroup(New in 2008), and HideIfNoRows (New in 2008) 281

Summary 282

16 Report Navigation 283 Hyperlink(Go to URL) Navigation 284

BookmarkLink (Go to Bookmark) Navigation 285

Drillthrough(Go to Report) Navigation 286

Document Map 287

Hide and Toggle Items 288

Practical Application of Action Items 289

Implementation 289

Summary 294

17 Working with Multidimensional Data Sources 295 Analysis Services Concepts 295

Data-Mining Concepts 298

Creating a Data-Mining Model 298

MDX and DMX 300

Advanced OLAP Concepts 300

Creating Data-Mining Reports 323

Summary 326 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 11

Issues Facing Ad Hoc Reporting 327

Client-Side Reporting with SSRS 328

Report Models and the Model Designer 328

Report Model Projects 329

Model File Content 329

Features of Report Builder 339

Building Reports with Report Builder 342

Report Builder 2.0 345

Report Builder 2.0 Features 346

Installing Report Builder 2.0 347

Design Surface 348

Ribbons 349

Other Dialog Boxes 350

Managing Data Sources and Data Sets 352

Report Layout 354

Summary 359

Part III Reporting Services Management 19 Managing Reports, Data Sources, and Models 361 Deployment Options in Visual Studio 361

Server Name 361

Report Folder Location 362

Overwriting Data Sources 362

Target Folder for the Data Source 362

Building and Deploying Reports 363

Deployment Through Report Manager 363

Creating a New Folder 363

Setting Up a Data Source 364

Uploading a Report 366

Changing the Data Source 367

Changing Report Properties 367

Basic Properties 367

Moving Reports 368

Linked Reports 370

Setting Report History and Snapshots 371

Report Server Settings to Affect Report History 371

Creating Snapshots 372

Deleting Snapshots 373

My Reports 373

Enabling My Reports 374

From the Library of STEPHEN EISEMAN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 12

Disabling My Reports 374

Summary 376

20 Securing Report Server Items 377 Reporting Services Security Model 377

What Can Be Secured? 378

How Role Assignments Work 379

Relationships Between Roles, Tasks, and Users 380

Overview of Built-In Roles 381

Assigning Built-In Roles 383

Defining Custom Roles 386

Creating/Modifying a Custom Role 387

Summary 388

21 Report Execution and Processing 389 Managing Schedules 389

Types of Schedules 390

Creating/Modifying Schedules 390

Report Execution and Processing 392

Report-Execution Timeouts 393

Running Processes 394

Large Reports 394

Report-Execution History 395

What Is the Execution Log? 395

How to Report Off the Execution Log 396

Creating the RSExecutionLog Database 396

Overview of the Sample Reports 398

Summary 399

22 Subscribing to Reports 401 Overview of Subscriptions 401

Parts of Subscriptions 401

Uses of Subscriptions 402

Standard Versus Data-Driven Subscriptions 402

Delivery Options 402

Subscription Processing 403

Overview of Delivery Extensions 403

Email 403

Delivering to a File Share 404

Creating a Simple Subscription 404

File Share Delivery 405

Creating a Data-Driven Subscription 406 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 13

Creating a Subscriptions Database 407

Report Manager 408

Managing Subscriptions 408

My Subscriptions 409

Monitoring Subscriptions 409

Deleting/Inactivating Subscriptions 410

Summary 410

23 SSRS Administration 411 Monitoring 411

Reporting Services Log Files 411

Viewing and Managing Jobs 414

Performance 416

Configuration Items 418

Key Management 421

Backing Up the Symmetric Key 421

Restoring the Symmetric Key 422

Changing the Symmetric Key 423

Deleting the Symmetric Key 423

Scale-Out Deployment 424

Summary 425

24 RS Utility 427 Inside the Reporting Services Script Files 427

Command-Line Arguments 428

Sample Command Lines 430

Code Examples 430

Summary 432

Part IV Reporting Services Customizations 25 Implementing Custom Embedded Functions 433 Adding Embedded Code 433

Debugging Embedded Code 437

Summary 439

26 Creating and Calling a Custom Assembly from a Report 441 Initializing Assembly Classes 446

Strong-Named Custom Assemblies 450

.NET Security Primer for an SSRS Administrator 450

Assemblies That Require Other Than ExecutePermissions 457

Debugging Custom Assemblies 460

Summary 474

From the Library of STEPHEN EISEMAN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 14

How to Control Rendering Through URL Access 465

How to Integrate URL Access in an Application 472

Summary 474

28 Using Reporting Services Web Services 475 Report Management Web Service (ReportService2005.asmx) 486

How to Script Reporting Services (Using the RS Utility) 488

Working with Report Parameters 489

Security When Calling a Web Service (.NET 2.0 Style) 491

Security When Calling a Web Service (.NET 3.x, WCF Style) 492

Using SSL to Increase Security 495

Some of the Commonly Used Methods with Short Code Snippets 496

Summary 497

29 Extending Reporting Services 499 Common Considerations for Custom Reporting Services Extensions: Implementation, Deployment, and Security 503

Report Definition Customization Extension 508

Limits on Customization 509

Limits on SSRS Features Supported with RDCE 509

Steps to Deploy and Use Your RDCE Implementation 510

Delivery Extension 511

Interactions Between User, SSRS, and a Delivery Extension 514

Custom Report Items 516

Summary 517

Part V SharePoint Integration 30 Reporting Services Integration with SharePoint 519 SharePoint Technology 520

Reporting Services Integration with SharePoint 521

Planning for SharePoint Integration 522

Unsupported Features 523

Sample Reports Integrated with SharePoint 524

Summary 526

31 SSRS 2008 SharePoint Integration Architecture 527 Reporting Services Add-In for SharePoint 528

Report Server Integrated Mode 529

Database Management 530 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 15

Security Management 531

Deployment Architecture 532

Summary 533

32 Installation of Reporting Services Integrated with SharePoint 535 Installing Reporting Services 536

Installing SharePoint 536

Configuring Report Server in SharePoint Integrated Mode 537

Installing the RS Add-In for SharePoint 538

Configuring Report Server Integration via SharePoint Central Administration 538

Upgrading from SSRS2K5 SP2 542

Scaling-Out Deployments 542

Troubleshooting 543

Summary 543

33 SharePoint Mode Administration 545 Security Overview 545

User Authentication with SharePoint 546

Windows Integrated Security 547

Trusted Account with Windows or Forms Authentication 548

User Authorization with SharePoint 549

Programmability 551

Configuration Code Sample 552

Setting Up Kerberos Authentication 554

Summary 555

34 Tools Support for SSRS Integrated with SharePoint 557 Report Services Configuration Tool 558

SQL Server Management Studio 560

Administration and Management Pages 561

Report-Authoring Tools 561

Summary 564

35 Viewing Reports in SharePoint 565 Report Viewer Web Part 566

Connect the Report Viewer Web Part with Other SharePoint Web Parts 568 URL Access Parameters 569

Viewing Reports with SharePoint 2.0 Web Parts 572

Summary 572

From the Library of STEPHEN EISEMAN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 16

Managing Properties 574

Managing Permissions 576

Managing Data Sources 576

Managing Parameters 577

Managing Report Processing Options 579

Managing Report History 580

Managing Shared Schedules 580

Managing Subscriptions 582

SharePoint Document Management 584

Summary 587

37 Ad Hoc Reporting in SharePoint 589 Report Builder Reports in SharePoint 590

Data Sources in SharePoint 593

Report Models in SharePoint 594

Report Builder 2.0 594

Tips for Report Builder Usage 595

Summary 596

Part VI Appendixes A References and Additional Reading 597 MSDN Websites 597

SQL Customer Advisory Team Technical Notes 597

Microsoft SQL Server 2008 Samples 598

SQL Server Reporting Services 2008 Forum 598

Blogs 598

White Papers 599

SharePoint Integration Links 599

Additional Books 600

B Glossary 601 C Frequently Asked Questions and Additional Information 613 D What’s New in SQL Server SP1? 617 What’s New in SP1? 617

E What’s New in SQL Server 2008 R2? 623 Map and Spatial Visualizations 624

Grab and Go Reporting 624 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 17

Report Builder 3.0 and Ad Hoc Reporting 626

SharePoint Integration Enhancements 627

Report Manager Facelift 627

Report Viewer Control Updates 627

ATOM Data Renderer 627

Other Features in R2 627

From the Library of STEPHEN EISEMAN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 18

Michael Lisin has been in the software industry for more than 17 years, with 10 of those

years working with Microsoft Most of his career, Michael has been consulting on SQL

Server and business intelligence solutions for Microsoft’s enterprise customers He has

worked with SQL Server Reporting Services since the product’s first pre-beta version in

2002 and has taught Reporting Services classes and presented topics related to SQL Server

at various events Michael earned his MBA at Texas A&M University in 2006 and

contin-ues to be a dedicated scholar of Reporting Services He is now working with business

development for Microsoft

Jim Joseph is an independent contractor with 10 years of experience developing custom

software solutions in a variety of industries He has worked with SQL Server Reporting

Services since the first beta release in 2000 He earned his MBA from the University of St

Thomas in 2002 He has worked in a number of roles from developer to database

adminis-trator

Amit Goyal is a senior lead manager for the SQL Server Reporting Services team at

Microsoft Before joining Microsoft, Amit was a director at Yahoo! and worked on

devel-opment of the Panama search monetization platform He has 14 years of industry

experi-ence at high-tech companies such as Microsoft, Yahoo!, Oracle, and Broadbase Software

He earned his bachelor of science degree from UIUC (University of Illinois at Urbana

Champaign) and master’s degree from Stanford University

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 19

Michael Lisin: Dedicated to my family: my wife, Anna; my

chil-dren (Helen, Noah, and Alexander); my mother; and the memory of

my grandfather Thank you all for always being extremely ive in my life endeavors.

support-Jim Joseph: Dedicated to my wife, Deseere, and my son,

Christopher Thanks for having the patience to deal with an absent daddy.

Amit Goyal: Dedicated to my loving parents, Mr Ram Charan

and Mrs Manju Goyal; my wife, Meenakshi Agarwal; my daughter, Aditi; and my sister, Rashmi.

Acknowledgments

The authors would like to thank the publishing team for working with us on this book

Special thanks to Brook, Keith, Mark, Neil, J Boyd, Seth, and others Thank you for yourvaluable feedback, answers, and hard work on this book Without you all, this bookwould not be possible

Thank you to Matt Whitten and Stephen Rauch for getting Michael started withReporting Services and to Dr John Groth of Texas A&M for instilling creativity in yourstudents Thank you to Kevin Swailes for pointers about exception reports

Amit Goyal would like to thank his colleagues on the SQL Server Reporting Services teamfor help with content from their areas of expertise, especially Prash Shirolkar, LukaszPawlowski, Neeraja Divakaruni, Robert Bruckner, Nico Cristache, and Sean Boon

From the Library of STEPHEN EISEMANPlease purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 20

As the reader of this book, you are our most important critic and commentator We value

your opinion and want to know what we’re doing right, what we could do better, what

areas you’d like to see us publish in, and any other words of wisdom you’re willing to

pass our way

You can email or write me directly to let me know what you did or didn’t like about this

book—as well as what we can do to make our books stronger

Please note that I cannot help you with technical problems related to the topic of this book, and

that due to the high volume of mail I receive, I might not be able to reply to every message.

When you write, please be sure to include this book’s title and authors as well as your

name and phone or email address I will carefully review your comments and share them

with the author and editors who worked on the book

Email: feedback@samspublishing.com

Mail: Neil Rowe

Executive EditorSams Publishing

800 East 96th StreetIndianapolis, IN 46240 USA

Reader Services

Visit our website and register this book at www.informit.com/title/9780672330261 for

convenient access to any updates, downloads, or errata that might be available for this

book

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 21

SQL Server 2008 Reporting Services (SSRS) is a server-based, extensible, and scalable

plat-form that delivers and presents inplat-formation based on data that a business collects during

its operation

Information, in turn, helps business managers to evaluate the current state of the

enter-prise and make decisions on how to increase revenues, reduce costs, and increase customer

and employee satisfaction

The Reporting Services scope extends from traditional paper reports to interactive content

and various forms of delivery: email, file shares, and so on SSRS is capable of generating

reports in various formats, such as Hypertext Markup Language (HTML), Extensible

Markup Language (XML), and Excel formats, thus allowing users to manipulate their data

in whatever format is required

Before diving into this book, let’s take a moment to understand the layout and some of the

conventions used in the book First, we cover how this book is organized and what you can

expect in each section Second, we cover the style and formatting conventions used in this

book It is particularly noteworthy to note the style changes in reference to code lines,

including SQL Server and NET code

How This Book Is Organized

This book begins with an introductory overview of SSRS and covers a broad range of

topics in the areas of report authoring, Reporting Services deployment and administration,

and custom code development for Reporting Services

The chapters in Part I, “Introduction to Reporting Services,” provide a high-level overview

of Reporting Services and highlight key features of the Reporting Services, deployment

scenarios, typical users of Reporting Services, and Reporting Services architecture This part

allows for leisurely reading and does not require you to have access to a computer

The chapters in Part II, “Report Authoring from Basic to Advanced,” take you through

report development tools and processes This part describes report building blocks and

walks through building a report from simple to complex

From the Library of STEPHEN EISEMANPlease purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 22

The chapters in Part III, “Reporting Services Management,” discuss advanced topics of

Reporting Services administration, such as setting proper security, managing Reporting

Services as individual servers and in a web farm, and gathering report-execution

information

The chapters in Part IV, “Reporting Services Customizations,” are for those of you who

might want to extend Reporting Services and incorporate reports into your applications

This part covers key programmable aspects of Reporting Services

The chapters in Part V, “SharePoint Integration,” provide detailed drill-down into running

Reporting Services in SharePoint integrated mode If you are interested in allowing your

users to view and manage reports from their SharePoint sites, this section provides

comprehensive information on architecture, installation, tools, and management

Conventions Used in This Book

SQL Server 2008 Reporting Services is frequently abbreviated as SSRS, and where

appropri-ate we may distinguish between versions of the product such as SSRS 2005 or SSRS 2008

Business Intelligence Development Studio is frequently abbreviated as BIDS

New features available in SQL Server 2008 Reporting Services as compared to SQL Server

2005 Reporting Services are labeled with “New in 2008.”

Names of products, tools, individual windows (docking or not), titles, and abbreviations

are capitalized: for example, SQL Server, SQL Server Reporting Services, Visual Studio,

Report Designer, Report Builder, Report Manager, Windows, and so on

Monospaceis used to highlight the following:

Sections of code that are included in the flow of the text: “Add a text box to a

report and place the following code in the Background Colorproperty:=Code

Highlight(value).”

Filenames: “Visual Studio creates a project with a single class Class1 Let’s rename

fileClass1.csin Solution Explorer to MainClass.cs.”

Pathnames: Report Server (the default directory is C:\Program Files\Microsoft

SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin)

Error numbers, codes, and messages: “[rsRuntimeErrorInExpression] The Value

expression for the textrun ‘Textbox1.Paragraphs[0].TextRuns[0]’ contains

an error: Request for the permission of type

‘System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.”

Names of permissions, constants, properties, collections, and variables:Execute,

Fields,ReportParameter,Parent

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 23

To indicate adjustable information, we use the following:

{}, mostly where the variable information can be confused with XML (for example,

<Value>{EXPRESSION}</Value>) In this example, an {EXPRESSION}is any validexpression, such as =Fields!ProductImage.Value

<>, where the variable information cannot be confused with XML (for example,

=Fields!<Field Name>.Value)

From the Library of STEPHEN EISEMANPlease purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 24

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Trang 25

Introduction to SQL

Server Reporting Services (SSRS)

What Is SSRS?

SSRS for End Users

Overview of Features

SSRS in the ReportDevelopment Life Cycle

Editions of Reporting Services

How Is SSRS Licensed?

In today’s ultracompetitive business environment, having

good information is essential Companies are awash in

information, and with the advent of technologies such as

radio frequency identification (RFID), more and more

infor-mation is coming Technology has made the job of

gather-ing information trivial, but makgather-ing sense of it all still

remains elusive This makes good reporting and business

intelligence tools essential

This first chapter is strictly nontechnical This chapter

focuses on the following:

This book abbreviates SQL Server 2008 Reporting

Services as SSRS and SQL Server 2005 Reporting

Services as SSRS2K5

New features available in SSRS and not in SSRS2K5

are labeled with “New in 2008.”

From the Library of STEPHEN EISEMANPlease purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Ngày đăng: 24/10/2013, 10:15

TỪ KHÓA LIÊN QUAN