Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home
Education & Training  >  Find a course 

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL (M2778)

» 

Education & Training
US & Canada

» Contact Us
» Register for a class
» Education Centers
» VILT/HP RAIL
» Onsite & Dedicated Training
» What's new
» Find a course
» Big Data
» Business Analysis & Project Management
» Cloud
» Data Center
» HP ExpertOne Customer
» HP ExpertOne Partner
» HP Integrity
» Graphic Solutions
» ITSM / ITIL
» Linux
» Microsoft
» HP Networking
» HP NonStop
» HP OpenVMS
» HP Project Odyssey
» HP ProLiant
HP BladeSystem
» Security
» HP Storage
» HP Tru64
» HP-UX
» Virtualization
» HP VISPEL-Video Training
» VMware
» HP Education Consulting
» Certification
» HP Virtual Rooms
» eLearning
» HP Software Education
Content starts here
At a glance
View schedule & enroll Sorted by: location or date
Course number HG794S
Length 3 days
Delivery method Onsite dedicated training (OST)
Price USD $1,500
CAD $1,650

Special notes

Elements of this syllabus are subject to change.


Course overview

This 3-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2008.


Prerequisites

Before attending this course, students must have:
  • Logical database design
  • Physical database design
  • How data is stored in tables (rows and columns)
  • Data integrity concepts
  • Relationships between tables and columns (primary key and foreign key, one-to-one, one-to-many, and many-to-many)
  • Basic knowledge of the Microsoft Windows operating system and its core functionality. For example, how to use Windows Explorer, open and save files, and what a client/server application interaction means

It is recommended that students attend HG792S, Maintaining a Microsoft SQL Server 2008 Database (MOC 6231), and HG793S, Implementing a Microsoft SQL Server 2008 Database (MOC 6232), prior to attending this course.


Audience

  • This course is intended for SQL Server database administrators, implementers, system engineers, and developers who are responsible for writing queries

Ways to save

Course objectives

After completing this course, students will be able to:
  • Describe the uses of and ways to execute the Transact-SQL language
  • Use querying tools
  • Write SELECT queries to retrieve data
  • Group and summarize data by using Transact-SQL
  • Join data from multiple tables
  • Write queries that retrieve and modify data by using subqueries
  • Modify data in tables
  • Query text fields with full-text search
  • Describe how to create programming objects
  • Use various techniques when working with complex queries

Course outline

Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008

Lessons:
  • Overview of SQL Server 2008
  • Overview of SQL Server Databases
  • Overview of the SQL Language
  • Syntax Elements of T-SQL
  • Working with T-SQL Scripts
  • Using T-SQL Querying Tools

Lab: Getting Started with Databases and Transact-SQL in SQL Server 2008

  • (Level 200) Exploring SQL Server Management Studio
  • (Level 200) Executing Queries in SQL Server Management Studio
  • (Level 200) Examining a Database Diagram in SQL Server Management Studio
  • (Level 200) Using Excel to Generate a Report from a SQL Server Database

Module 2: Querying and Filtering Data

Lessons:

  • Using the SELECT Statement
  • Filtering Data
  • Working with NULL Values
  • Formatting Result Sets
  • Performance Considerations for Writing Queries

Lab: Querying and Filtering Data

  • (Level 200): Retrieving Data by Using the SELECT Statement
  • (Level 200): Filtering Data by Using Search Conditions
  • (Level 200) Using Functions to Work with NULL Values
  • (Level 200) Formatting Result Sets
  • (Level 200) Rewriting Queries for Performance

Module 3: Grouping and Summarizing Data

Lessons:

  • Summarizing Data by Using Aggregate Function
  • Summarizing Grouped Data
  • Ranking Grouped Data
  • Creating Crosstab Queries

Lab: Grouping and Summarizing Data

  • (Level 200) Summarizing Data by Using Aggregate Functions
  • (Level 200) Summarizing Grouped Data
  • (Level 200) Ranking Grouped Data
  • (Level 200) Creating Crosstab Queries

Module 4: Joining Data from Multiple Tables

Lessons:

  • Querying Multiple Tables by Using Joins
  • Applying Joins for Typical Reporting Needs
  • Combining and Limiting Result Set

Lab: Joining Data from Multiple Tables

  • (Level 200) Querying Multiple Tables by Using Joins
  • (Level 200) Applying Joins for Typical Reporting Needs
  • (Level 200) Combining and Limiting Result Sets

Module 5: Working with Subqueries

Lessons:

  • Writing Basic Subqueries
  • Writing Correlated Subqueries
  • Comparing Subqueries with Joins and Temporary Tables
  • Using Common Table Expressions

Lab: Working with Subqueries

  • (Level 200) Writing Basic Subqueries
  • (Level 200) Writing Correlated Subqueries
  • (Level 200) Comparing Subqueries with Joins and Temporary Tables
  • (Level 200) Using Common Table Expressions

Module 6: Modifying Data in Tables

Lessons:

  • Overview of Transaction
  • Inserting Data into Tables
  • Deleting Data from Tables
  • Updating Data in Tables

Lab: Modifying Data in Tables

  • (Level 200) Inserting Data into Tables
  • (Level 200) Deleting Data from Tables
  • (Level 200) Updating Data in Tables
  • (Level 200) Working with Transactions

Module 7: Querying Metadata, XML, and Full-Text Indexes

Lessons:

  • Querying Metadata
  • Overview of XML
  • Querying XML Data
  • Overview of Full-Text Indexes
  • Querying Full-Text Indexes

Lab: Querying Metadata, XML, and Full-Text Indexes

  • (Level 200) Querying Metadata
  • (Level 200) Querying XML Data
  • (Level 200) Creating and Querying Full-Text Indexes

Module 8: Using Programming Objects for Data Retrieval

Lessons:

  • Encapsulating Expressions by Using User-Defined Functions
  • Encapsulating Queries by Using Views
  • Overview of Stored Procedures
  • Writing Distributed Queries

Lab: Using Programming Objects for Data Retrieval

  • (Level 300) Creating User-Defined Functions
  • (Level 200) Creating Views
  • (Level 300) Writing Distributed Queries

Module 9: Using Advanced Querying Techniques

Lessons:

  • Considerations for Querying Complex Data
  • Querying Complex Table Structures
  • Writing Efficient Queries
  • Using Different Techniques for Complex Queries
  • Maintaining Query Files

Lab: Using Advanced Querying Techniques

  • (Level 300) Breaking up a Complex Business Reporting Requirement
  • (Level 300) Writing Complex Queries
  • (Level 300) Rewriting Complex Queries

HG794 A.00
 
Privacy statement Using this site means you accept its terms Feedback to Education & Training
© 2014 Hewlett-Packard Development Company, L.P.