Consulting Training Blog Careers About Us Contact Us

Working with Data Using SQL Server 2008 R2 for the Non-database Administrator Training

Course ID: MSL-50439
Duration: 3 Days

Upcoming Classes

Sorry, nothing scheduled right now. Click the Get Notified button below to be alerted when a class is scheduled.

Get Notified

On Site/Private

Can't find a class that fits right for you? Contact us to inquire about scheduling your own private class

Contact Us

Description

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 build in tools included with SQL Server to 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.

Bring This Course To You

For groups of 5 or more, let Intertech bring this course to your location. Customized versions tailored towards your objectives are also available.

Learn More

Learning Objectives

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 is SSMS to quickly import correctly formatted code that was prewritten by the SML 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 an 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 not to 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

Audience

This course is intended for Power Users and IT Professional 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 effiiciently.

Prerequisites

Before attending this course, students should have a working knowledge of databases but not necessarily Microsoft SQL.

Course Outline

The Toolsets

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

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

Single Table Queries

  • Logical Query Processing
  • Query Clauses (Listed in Logical Processing order)
  • FROM
  • WHERE
  • GROUP BY
  • HAVING
  • SELECT
  • ORDER BY
  • CASE
  • NULLS

Joining Multiple Tables

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

Subqueries, Common Table Expressions and Ranking Functions

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

Indexing

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

Query Tuning

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

Data Modification, Transactions and Error Processing

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

Stored Procedures and Triggers

  • Stored Procedures
  • Triggers

XML

  • XML Introduction
  • XML in SQL Server
  • XML Data Type
  • XML Indexes

Free Resources from Intertech

Free On-Demand Videos: SSRS Report Builder Tips

Free SQL Server Whitepaper: Performance Tuning

Free eBook: Introducing Microsoft SQL Server 2014

X