Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley

locations map


550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2


821A Bloor Street West
Toronto, ON
M6G 1M1


409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA

Other Locations

Dallas, TX
Miami, FL

Home > Training > DBA > Basics of Transact SQL with SQL Server 2008 R2 Training

Basics of Transact SQL with SQL Server 2008 R2 Training

Course#: 50439

This instructor-led course provides students with the necessary knowledge to work with the data in SQL Server 2008R2. They will learn how to use the built in tools included with SQL Serverto construct queries, do tuning,analyze a query and it’s performance along with how to modify existing data, perform joins, create indexes and work with XML.The new features are discussed and their impact is explained.

What you will learn

After completing this course, students will be able to:

  • Use SQL Server Management Studio (SSMS)
  • Use SSMS to generate efficient queries
  • Use the Object Browser in SSMS to locate objects and view their dependencies so you know
    the potential effect of a change.
  • Use the Template manager in SSMS to quickly import correctly formatted code that was prewritten by the SQL community
  • Customize the SSMS environment to match the users individual needs
  • Run a trace in SQL Profiler to analyze performance of operations
  • Use the debugger with a query to troubleshoot it
  • Work with SQL Server Integration Services to do a basic package for import/export, how to save it and automatically execute it.
  • Use the Database Tuning Advisor for faster queries
  • Read an SSMS Execution Plan and understand it and learn why you need to understand it.
  • Explain and perform single table queries and the proper method to develop them
  • Perform various joins between tables to reunite data stored separately such as an order and its details, or a salesperson and their sales and the product in the sale.
  • Understand indexing and its impact on speed of retrieval of data and when to not use it.
  • Write code within the context of a transaction to prevent data corruption
  • Utilize Try-Catch error handling and learn why to use it
  • Use Stored Procedures to access data and understand the improved security of using them and how easy they are to create via the community templates in SSMS.
  • Explain the new language features and how they improve the data environment and reporting
  • Write a sub-query as an advanced technique
  • Use common table expressions in a query
  • Work with the XML datatype and the new methods especially for XML


This course is intended for Power Users and IT Professionals that are called on to work with SQL Server in the retrieving, or modifying of data and need a good foundation to perform those functions. This would include those users that develop reports and need to create Data Sets that work efficiently.


Before attending this course, students should have:

  • A working knowledge of databases but not necessarily Microsoft SQL


3 Days

Outline of 50439 Basics of Transact SQL with SQL Server 2008 R2 Training

Module 1: The Toolsets


  • SQL Server Management Studio
  • SQLCMD Utility
  • Business Intelligence Development Studio (BIDS)
  • SQL Profiler
  • Bulk Copy
  • Adventure Works Sample Database
  • Data Definition Language

Lab : The Toolsets

  • Set Options in SSMS
  • Create a Solution and Project
  • Explore the Query Editor
  • Examine Graphical Execution Plans
  • Use Object Explorer
  • Use SQLCMD Utility
  • Create a Basic SSIS Package Using the Wizard
  • Run a SQL Profiler Trace

Module 2: Data Types and New T-SQL Language Features


  • SQL Server Data Types
  • New Data Types
  • Hierarchyid Data Type
  • Spatial Data
  • Date and Time
  • FileStream Storage
  • Grouping Sets

Lab : Data Types and New T-SQL Language Features

  • Use Hierarchyid
  • FILESTREAM Storage
  • Use Merge Statement

Module 3: Single Table Queries


  • Logical Query Processing
  • Query Clauses (Listed in Logical Processing Order)
  • FROM
  • CASE

Lab : Single Table Queries

  • Query Clauses
  • FROM
  • CASE

Module 4: Joining Multiple Tables


  • Normalization
  • Old Style vs. New Style
  • Cross Join
  • Inner Join
  • Outer Join
  • Self Join
  • Joining Multiple Tables

Lab : Joining Multiple Tables

  • Cross Join
  • Inner Join
  • Outer Join
  • Multiple Tables

Module 5: Subqueries, Common Table Expressions and Ranking Functions


  • Subqueries
  • Self-Contained Subqueries
  • Correlated Subqueries
  • Views
  • Derived Tables
  • Common Table Expressions
  • Analytic Ranking Functions

Lab : Subqueries, Common Table Expressions and Ranking Functions

  • Subqueries
  • Views
  • Derived Tables
  • Common Table Expressions

Module 6: Indexing


  • Understanding Execution Plans
  • Table and Index Structures
  • Syntax
  • Clustered Index
  • Non Clustered Index on Heap
  • Non Clustered Index on Clustered Index
  • Syntax

Lab : Indexing

  • sys.dm_db_index_physical_stats
  • Set Statistics IO
  • WHERE Clause
  • Narrow Indexes
  • Column Uniqueness
  • Column Ordering

Module 7: Query Tuning


  • System Performance Analysis
  • Query Analysis
  • Database Engine Tuning Advisor
  • Bookmark Lookup
  • Statistics Analysis
  • Query Design

Lab : Query Tuning

  • Performance Monitor
  • Dynamic Management Views
  • SQL Profiler
  • Database Engine Tuning Advisor
  • Query Design

Module 8: Data Modification, Transactions and Error Processing


  • Modifying Data INSERT
  • Modifying Data UPDATE
  • Modifying Data DELETE
  • Transactions
  • Error Processing
  • Debugging in SQL Server 2008

Lab : Data Modification, Transactions and Error Processing

  • Inserting Values
  • Use Bulk Copy
  • Modify Data
  • DELETE Data
  • Transactions
  • Try-Catch

Module 9: Stored Procedures and Triggers


  • Stored Procedures
  • Triggers

Lab : Stored Procedures and Triggers

  • Basic Stored Procedure
  • Stored Procedure with Parameters (In)
  • Stored Procedure with Parameters (In and Out)
  • Triggers
  • INSTEAD OF Trigger

Module 10: XML


  • XML Introduction
  • XML in SQL Server
  • XML Data Type
  • XML Indexes
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
*Your name:

*Your e-mail:


*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.

more details
buy this course

Register for a courseware sample

It's simple, and free.


Thank You!

You will receive an email shortly containing a link to download the requested sample of the labs for this course.