Introduction to SQL Server 2005/2008 and Transact SQL Week 5: SQL Server Reporting Services Building Reports Steve Stedman - Instructor Steve@SteveStedman.com
This Weeks Overview Introduction to SQL Server and Transact SQL - Class 5 Review of Last Class Overview of SQL Server Reporting Services SSRS Demonstration Creating Reports (Using the Wizard) Advanced Report Creation including Matrix Reporting Advanced Reporting Options (Grouping, Sorting, Formatting, Report Properties) Course Review
Last Class Review Introduction to SQL Server and Transact SQL - Class 4 Overview Of Database Design 1st, 2nd and 3rd Normal Form Creating Tables Lab: Creating Tables Creating Relationships Lab: Creating Relationships
1. SQL Server Reporting Services Overview Overview Details Architecture
SSRS Details Reports are defined in RDL Report Definition Language Based on XML markup language Created with Visual Studio or Business Intelligence Studio You can run the report directly or publish it to a report server Can also be viewed on the web using the.net report viewer control
SSRS Samples Company Sales Uses the Tablix Data Region Product Catalog Uses the Tablix Data Region
SSRS Architecture A Diagram of the SSRS Components
End of Overview SQL Server Reporting Services Any Questions Next Topic - SSRS Demonstration
2. SSRS Demonstration Grid Employee Phone List Grid with Grouping Employee phone list by department Matrix Annual sales summary by territory
Grid Employee Phone List The basic report design Demo
Matrix Annual sales summary by territory Using the cross tab or matrix to display data Demo
Chart Annual sales totals Using the Grid and add a bar chart Demo
End of SSRS Demonstration Any Questions Next Topic - Creating Reports
3. Creating Reports Using the Wizard Development Studio Report Designer Two ways to create reports Designing from Scratch Using the Wizard
Development Studio Building Reports Steps to build reports in Development Studio Create a Project Connect to a datasource (make it shared) Add the Query Build the report Preview the report Save the project Deploy the report
Create the Project Run Business Intelligence Studio From your start menu Find the SQL Server 2008 Group Run the SQL Server Business Intelligence Studio Create the project From the file menu Choose New...Project Choose the Report Server Project Wizard Give the project a name and a directory
Connect to the datasource Tell the report how to find the database Name the Datasource (AdventureWorks) Choose Microsoft SQL Server as the type Click the Edit button Use your local computer as the the Server Name Choose the authentication method Windows Authentication Select AdventureWorks as the database Name Test the Datasource and hit OK Choose to Make this a shared datasource Click Next
Add the Query Just paste a query into the query string window, or use the Query Builder to create a new query Click Next
Build the report Defining how the report will look Choose Tabular or Matrix Click Next Add all of the Fields into the Details Box Click Next Chose a table style (this is just colors, and fonts) Click Next Click Finish Give the Report a Name Click Finish
Preview the report Your report will be shown in the Design window Click the Preview Tab Verify that your report looks correct
Save the Report From the File menu choose Save All Your Report and the Datasources will be saved
Deploy the Report Your report can be deployed to a SQL Server to be shared with others
Building Reports Lab Project Using the query labeled as "1. First Report Employee Address List" Build a tabular report to show the address list
End of Topic Creating Reports Using the Wizard Any Questions Next Topic - Advanced Report Creation
4. Advanced Report Creation Matrix, Grouping, Charts Creating a Report with Grouping Creating a Matrix Report Adding a Chart to a Report Changing the look of the Report Fonts, Spacing, etc.
Creating a Report with Grouping Demo
Creating a Matrix Report Demo
Adding a Chart to a Report Demo
Changing the Look and Feel Demo
Advanced Report Creation Lab Project Using Query 2, 3, or 4 in the sample file Create a Grid with Grouping, a Matrix, or a report with a Chart
End of Advanced Report Creation Without the Wizard Any Questions Next Topic - Matrix Reporting
Course Review Review of Class 1, 2, 3, 4 and 5
Class 1 Introduction to SQL Server and Transact SQL - Week 1 About the Instructor Introduction and Class Overview (Review Syllabus) Course Logistics - What to expect and what is expected What is SQL Server? Installing SQL Server 2008 SQL Server Management Studio Differences between SQL Server 2005 and SQL 2008 Introduction to SQL Books Online
Class 2 Introduction to SQL Server and Transact SQL - Week 2 AdventureWorks Database Diagram Simple Selects Simple Inserts Simple Updates Simple Delete Aggregating Data
Class 3 Introduction to SQL Server and Transact SQL - Week 3 Querying Related Tables Join Syntax Inner Joins Left / Right Outer Join Cross Joins Unions Sub-Queries
Class 4 Introduction to SQL Server and Transact SQL - Class 4 Overview Of Database Design 1st, 2nd and 3rd Normal Form Creating Tables Lab: Creating Tables Creating Relationships Lab: Creating Relationships
SSRS Overview What is SSRS? SQL Server Reporting Services Server-based report generation software A tool for turning a query into a visual report Report builder / designer Competes with Crystal Reports and other business intelligence tools
Class 5 Introduction to SQL Server and Transact SQL - Class 5 Review of Last Class Overview of SQL Server Reporting Services SSRS Demonstration Creating Reports + Lab (Using the Wizard) Advanced Report Creation with Matrix Reporting Course Review
Whats Next Additional Classes Moving From MS Access to SQL Server SQL Server 2005/2008 for Developers SQL Server 2005/2008 for Administrators SQL Server Performance Tuning for Administrators and Developers
Class Certificates Presentation of Class Certificates
Any Questions? End of Class
Grid with Grouping Employee phone list by department Adding to the simple grid Demo