Querying and Reporting Data
Querying and Reporting Data
Querying and Reporting Data
Querying and
Reporting Data
Module Overview
• Introduction to Queries
• Managing Queries
• Configuring SQL Server Reporting Services
Lesson 1: Introduction to Queries
• What Is a Query?
• Objects and Attributes
• Query Elements
What Is a Query?
New
Delete
Required
Name
Group
Not
Logical Attribute
Operators
Class Required
Sort
Properties Change
Object Type
Group Operator
Indicators Ungroup
Attribute
Every
Optional classes
query
query and a
requires
elements attributes
unique aretorequired,
name,
are used and
narrow and if
the
not specified,
System
scope all available
ofResource
a query attributes
is the default objectdisplay
type
Lesson 2: Managing Queries
• Managing Data Queries
• Managing Status Message Queries
• Managing Query Results
• Demonstration: Creating and Running Queries
Managing Data Queries
Query Site
Database
Managing Query Results
status
For data message queries:
queries:
You can add or remove Delete
attributes
You can saveto control theas a
this view
attributes
text file ordisplayed
print thisin the by
view New
results pane
using the File menu
You
You can
can modify
use thethe sort
Edit order
menu to
of the attributes displayed
copy, delete, or find
Properties
messages
You in this
can control view
the column
order
You canof the
usedisplayed data by
the view menu to
moving
customizethethe
attributes up or
view, including Move Up (Left)
down
options to limit the number of
messages
You displayed
can modify and the
how query Move Down (Right)
columns
results areshown
displayed by
moving the query attributes
up or down in the table
Demonstration: Creating and Running Queries
In this demonstration, you will see how to:
• Create a data query
• Run a data query
• Create a status message query
• Run a status message query
Lab A: Creating and Running Queries
• Exercise 1: Creating Data Queries
• Exercise 2: Creating Subselect Queries
• Exercise 3: Creating Status Message Queries
Logon information
Virtual machine 10747A-NYC-DC1-C 10747A-NYC-CFG-C
User name Contoso\Administrator
Password Pa$$w0rd
Reporting
Services Point
Primary
Site
Configuring SQL Server Reporting Services
Logon information
Virtual machine 10747A-NYC-DC1-C 10747A-NYC-CFG-C
User name Contoso\Administrator
Password Pa$$w0rd