Microsoft - Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

Duration

Duration:

Only 2 Days

Method

Method:

Classroom / Online / Hybrid

Next date

Next date:

10.2.2025 (Monday)

Overview

This two-day course has been designed for SQL Server database administrators, implementers, system engineers, and developers who are responsible for writing queries. It will provide students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2008.

If you have little or no experience in writing T-SQL queries, this is the ideal platform if you are looking to move on to the Microsoft MCITP Database Administrator 2008 or MCITP Database Developer 2008 courses.

During this two-day course you will be trained using the following Microsoft Official Curriculum:

  • MOC 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

Four reasons why you should sit your T-SQL course with Firebrand Training

  1. You'll be T-SQL trained and certified faster. Learn more on this 2-day accelerated course. You'll get at least 12 hours a day of quality learning time in a distraction-free environment
  2. Your T-SQL course is all-inclusive. One simple price covers all course materials, accommodation and meals – so you can focus on learning
  3. Pass T-SQL first time or train again for free. Your expert instructor will deliver our unique accelerated learning methods, allowing you to learn faster and be in the best possible position to pass first time. In the unlikely event that you don't, it's covered by your Certification Guarantee
  4. Study T-SQL with an award-winning training provider. We've won the Learning and Performance Institute's "Training Company of the Year" three times. Firebrand is your fastest way to learn, with 134561 students saving more than one million hours since 2001

Benefits

Seven reasons why you should sit your course with Firebrand Training

  1. Two options of training. Choose between residential classroom-based, or online courses
  2. You'll be certified fast. With us, you’ll be trained in record time
  3. Our course is all-inclusive. A one-off fee covers all course materials, exams**, accommodation* and meals*. No hidden extras.
  4. Pass the first time or train again for free. This is our guarantee. We’re confident you’ll pass your course the first time. But if not, come back within a year and only pay for accommodation, exams and incidental costs
  5. You’ll learn more. A day with a traditional training provider generally runs from 9 am – 5 pm, with a nice long break for lunch. With Firebrand Training you’ll get at least 12 hours/day of quality learning time, with your instructor
  6. You’ll learn faster. Chances are, you’ll have a different learning style to those around you. We combine visual, auditory and tactile styles to deliver the material in a way that ensures you will learn faster and more easily
  7. You’ll be studying with the best. We’ve been named in the Training Industry’s “Top 20 IT Training Companies of the Year” every year since 2010. As well as winning many more awards, we’ve trained and certified over 135,000 professionals
  • * For residential training only. Doesn't apply for online courses
  • ** Some exceptions apply. Please refer to the Exam Track or speak with our experts

Curriculum

Our T-SQL course is the most effective and efficient way to provide you with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2008.

During this two-day course you will be trained using the following Micosoft Official Curriculum:

  • MOC 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

The course covers the following content:

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

The student will be introduced to how client / server architecture works, and examine the various database and business tasks that can be performed by using the components of SQL Server 2008. The student will also be introduced to SQL Server database concepts such as relational databases, normalization, and database objects. In addition, the student will learn how to use T-SQL to query databases and generate reports.

Lessons

  • Overview of SQL Server 2008
  • Overview of SQL Server Databases
  • Overview and Syntax Elements of T-SQL
  • Working with T-SQL Scripts
  • Using T-SQL Querying Tools

Lab: Using SQL Server Management Studio and SQLCMD

  • Exploring the Components and Executing Queries in SQL Server Management Studio
  • Starting and Using SQLCMD
  • Generating a Report from a SQL Server Database Using Microsoft Office Excel

After completing this module, students will be able to:

  • Describe the architecture and components of SQL Server 2008
  • Describe the structure of a SQL Server database
  • Explain the basics of the SQL language
  • Describe the syntax elements of T-SQL
  • Explain how to manage T-SQL scripts
  • Use T-SQL querying tools to query SQL Server 2008 databases

Module Two: Querying and Filtering Data

The students will be introduced to the basic Transact-SQL (T-SQL) statements that are used for writing queries, filtering data, and formatting result sets.

Lessons

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

Lab: Querying and Filtering Data

  • Retrieving Data by Using the SELECT Statement
  • Filtering Data by Using Different Search Conditions
  • Using Functions to Work with NULL Values
  • Formatting Result Sets

After completing this module, students will be able to:

  • Retrieve data by using the SELECT statement.
  • Filter data by using different search conditions.
  • Explain how to work with NULL values.
  • Format result sets.
  • Describe the performance considerations that affect data retrieval.

Module Three: Grouping and Summarizing Data

The students will learn to group and summarize data when generating reports in Microsoft SQL Server 2008 by using aggregate functions and the COMPUTE clause

Lessons

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

Lab: Grouping and Summarizing Data

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

After completing this module, students will be able to:

  • Summarize data by using aggregate functions.
  • Summarize grouped data by using the GROUP BY and COMPUTE clauses.
  • Rank grouped data.
  • Create cross-tabulation queries by using the PIVOT and UNPIVOT clauses.

Module Four: Joining Data from Multiple Tables

The students will learn to write joins to query multiple tables, as well as limiting and combining result sets.

Lessons

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

Lab: Joining Data from Multiple Tables

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

After completing this module, students will be able to:

  • Query multiple tables by using joins.
  • Apply joins for typical reporting needs.
  • Combine and limit result sets.

Module Five: Working with Subqueries

The students will be introduced to basic and correlated subqueries and how these compare with joins and temporary tables. The students will also be introduced to using common table expressions in queries.

Lessons

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

Lab: Working with Subqueries

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

After completing this module, students will be able to:

  • Write basic subqueries.
  • Write correlated subqueries.
  • Compare subqueries with joins and temporary tables.
  • Use common table expressions in queries.

Module Six: Modifying Data in Tables

The students will be able to modify the data in tables by using the INSERT, DELETE, and UPDATE statements. In addition, students will examine how transactions work in a database, the importance of transaction isolation levels, and how to manage transactions.

Lessons

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

Lab: Modifying Data in Tables

  • Inserting Data into Tables
  • Deleting Data from Tables
  • Updating Data in Tables
  • Working with Transactions

After completing this module, students will be able to:

  • Insert data into tables.
  • Delete data from tables.
  • Update data in tables.
  • Describe transactions.

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

The students will learn to query semi-structured and unstructured data. The students will also learn how SQL Server 2008 handles XML data and will query XML data. The students will also be introduced to full-text indexing in SQL Server 2008.

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

  • Querying Metadata
  • Querying XML Data
  • Creating and Querying Full-Text Indexes

After completing this module, students will be able to:

  • Query metadata.
  • Describe the functionality of XML.
  • Query XML data.
  • Describe the functionality of full-text indexes.
  • Query full-text indexes.

Module Eight: Using Programming Objects for Data Retrieval

The students will be introduced to user-defined functions and executing various kinds of queries by using user-defined functions. The students will be introduced to SQL Server views that encapsulate data and present users with limited and relevant information. In addition, the students will be introduced to SQL Server stored procedures and the functionalities of the various programming objects. The students will learn how to perform distributed queries and how SQL Server works with heterogeneous data such as databases, spreadsheets, and other servers.

Lessons

  • Overview of Views
  • Overview of User-Defined Functions
  • Overview of Stored Procedures
  • Overview of Triggers
  • Writing Distributed Queries

Lab: Using Programming Objects for Data Retrieval

  • Creating Views
  • Creating User-Defined Functions
  • Creating Stored Procedures
  • Writing Distributed Queries

After completing this module, students will be able to:

  • Encapsulate queries by using views.
  • Encapsulate expressions by using user-defined functions.
  • Explain how stored procedures encapsulate T-SQL logic.
  • Define triggers, types of triggers, create a trigger.
  • Write distributed queries.

Module Nine: Using Advanced Querying Techniques

The students will be introduced to best practices for querying complex data. The students will also examine how to query complex table structures such as data stored in hierarchies and self-referencing tables. The students will analyze the recommended guidelines for executing queries and how to optimize query performance.

Lessons

  • Considerations for Querying Data
  • Working with Data Types
  • Cursors and Set-Based Queries
  • Dynamic SQL
  • Maintaining Query Files

Lab: Using Advanced Querying Techniques

  • Using Execution Plans
  • Converting Data Types
  • Implementing a Hierarchy
  • Using Cursors and Set-Based Queries

What's Included

Microsoft Official Curriculum provided on the course:

  • MOC 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

Your accelerated course includes:

  • Accommodation *
  • Meals, unlimited snacks, beverages, tea and coffee *
  • On-site exams **
  • Exam vouchers **
  • Practice tests **
  • Certification Guarantee ***
  • Courseware
  • Up-to 12 hours of instructor-led training each day
  • 24-hour lab access
  • Digital courseware **
  • * For residential training only. Accommodation is included from the night before the course starts. This doesn't apply for online courses.
  • ** Some exceptions apply. Please refer to the Exam Track or speak with our experts
  • *** Pass first time or train again free as many times as it takes, unlimited for 1 year. Just pay for accommodation, exams, and incidental costs.

Prerequisites

Before attending this course, students must have:

  • Knowledge of data integrity concepts
  • Relational database design skills
  • Programming skills.

Unsure whether you meet the prerequisites? Don’t worry. Your training consultant will discuss your background with you to understand if this course is right for you.

Reviews

Here's the Firebrand Training review section. Since 2001 we've trained exactly 134561 students and asked them all to review our Accelerated Learning. Currently, 94.70% have said Firebrand exceeded their expectations.

Read reviews from recent accelerated courses below or visit Firebrand Stories for written and video interviews from our alumni.


"The quality of training is very high and its useful to meet people who do similar roles and hear about their experience."
Stephen Rusanen, Delta-T Devices. (25.3.2013 (Monday) to 26.3.2013 (Tuesday))

"This has been a very good course. Heaps of information and a well lead course. The Instructor has a very goo knowledge off SQL and I would recommend anyone to come on it. "
M.B. (25.3.2013 (Monday) to 26.3.2013 (Tuesday))

"Excellent facilities, and beginner course for SQL, a quick way to get the basics to take back to the office."
Simon Lunn, Oldrids. (25.3.2013 (Monday) to 26.3.2013 (Tuesday))

"Great course. The trainer was really nice and informative. Accommodation/training facilities were second to none. Would definitely recommend and would like to do more courses with Firebrand in the future!"
Simon Hook, VTUK. (25.3.2013 (Monday) to 26.3.2013 (Tuesday))

"When I first entered the building I immediately felt comfortable. The course had a very intense workload, but there was not one point in which I never felt there wasn't support where required. All staff are welcoming and my tutor was excellent. I have taken so much from this short weekend course, which is going to benefit my skills for the very near future. I have truly enjoyed my time here learning skills which will help further my career. Kind Regards "
Joe Cornell, Move with Us. (3.3.2012 (Saturday) to 4.3.2012 (Sunday))

Course Dates

Start

Finish

Status

Location

Book now

26.8.2024 (Monday)

27.8.2024 (Tuesday)

Finished - Leave feedback

-

 

 

10.2.2025 (Monday)

11.2.2025 (Tuesday)

Limited availability

Nationwide

 

24.3.2025 (Monday)

25.3.2025 (Tuesday)

Open

Nationwide

 

5.5.2025 (Monday)

6.5.2025 (Tuesday)

Open

Nationwide

 

16.6.2025 (Monday)

17.6.2025 (Tuesday)

Open

Nationwide

 

Latest Reviews from our students