home > training > SQL250: Transact-SQL for Developers

118 Student Comments

SQL250: Transact-SQL Course for Developers

MOC: DP-080T00

$2,795

  • 5 Days
  • Interface exclusive course
  • Master T-SQL queries, scripts, etc
  • Use your programming skills!
  • Faster and deeper than SQL101
  • Attend online with RemoteLive™
  • Replay™ Class Recordings Included
  • Included in the "all-you-can-eat" Microsoft Live Training Subscription Learn More

Interface Gold™Gold Benefits: Retake this course for one year. Replay™ class recordings included. Money-back guarantee. Price Match available. MS SubscriptionIncluded in the "all-you-can-eat" Microsoft Live Training Subscription.

Dates Available
Class Time
Guaranteed
to Run
Attend
Live Online
Rewatch with
Replay™
 
Oct 7 - Oct 11
Replay™ AvailableThis class date includes Interface Replay™ class recordings, available for online viewing 1 hour after each class day ends.
7AM - 3PM (PHX)
This class date is Guaranteed to Run and will not change.
Guaranteed To Run
Attend Live Online
Rewatch with Replay™
Dec 2 - Dec 6
Replay™ AvailableThis class date includes Interface Replay™ class recordings, available for online viewing 1 hour after each class day ends.
8AM - 4PM (PHX)
This class date is Guaranteed to Run and will not change.
Guaranteed To Run
Attend Live Online
Rewatch with Replay™
Feb 24 - Feb 28
Replay™ AvailableThis class date includes Interface Replay™ class recordings, available for online viewing 1 hour after each class day ends.
8AM - 4PM (PHX)
This class date is Guaranteed to Run and will not change.
Guaranteed To Run
Attend Live Online
Rewatch with Replay™
Register today - no risk!  No cancellation fees.  Full money back guarantee!

This course is recommended for the following:
20761: Querying Data with Transact-SQL
20461: Querying Microsoft SQL Server 2014 (See Course SQL250)

Microsoft Transact-SQL for Developers images
x
Course:
  • This field is for validation purposes and should be left unchanged.

Course Description

In this course, you’ll establish a solid foundational understanding of database concepts and terminology. Then you’ll master the use of various Microsoft tools to submit queries to quickly and efficiently get the results you want.

We teach students how to write a query the same way that SQL Server processes a SQL statement – following a step-by-step process for creating SQL queries from business requirements. This approach uses the natural way of breaking down a problem into logical steps. Each step can be validated before moving to the next step. This differs from most courses, which present SQL as a set of features.

Finally, the you’ll learn to harness the power of using T-SQL statements inside common database objects like Views, Stored Procedures and User-Defined Functions.

Class lectures highlight and explain Transact-SQL concepts which are reinforced with extensive follow-along demonstrations and hands-on labs.

Outline

1. Database Concepts

Upon completion of this module, students will be able to describe the objects that make up a database, data relationships within the database and how databases guarantee uniqueness of defined objects.

  • Conceptual View
  • Logical View
  • Database Diagramming


2.Using the Tools

Upon completion of this module, students will be able to use SQL Server Management Studio to discover the database definition including tables and data relationships and how databases guarantee uniqueness of defined objects.

  • SQL Server Management Studio (SSMS) Overview
  • Viewing Basic Table Metadata
  • Viewing Other Table Constraints
  • SSMS Database Diagramming


3. Getting the Data

Upon completion of this module, students will be able to write a simple SELECT statement, returning all the columns and rows. Students will be able to formulate and write a meaningful join strategy to bring together all necessary data. The students will also be able to utilize a subquery to reshape data before using it in a query, write joins using the old and new form join syntax and write subqueries using Common Table Expressions.

  • SQL Language
  • The SELECT Statement
  • The FROM clause
  • Joining Tables
  • Using Views and Subqueries
  • Reformulating Subqueries using Common Table Expressions
  • Old Form Join Syntax


4. Filtering the Data

Upon completion of this module, students will be able to write a WHERE clause to filter the rows based on equality, a list of values, a range of values, a wildcard character condition and the existence of values in a subquery. The student will also be able to consider the impact on filtering based on implicit data conversions using data type precedence and how to create a proper search argument.

  • When is the WHERE clause processed?
  • The WHERE Clause
  • Filtering Data with Equality
  • Using a List of Values
  • Using Subqueries to Filter Data
  • Data Type Precedence
  • Proper Search Arguments


5. What to Display

Upon completion of this module, students will be able to control the display of data out of a SQL SELECT, rename column names, write expressions using standard operators and built-in function to change output values, conditionally change the output values using CASE expressions, sort the result set, eliminate duplicate rows and control the number of rows returned when necessary.

  • When is the Column List Processed?
  • Identifying Columns
  • Renaming Columns through a Column Alias
  • When and How to use Built-in Functions
  • Using Subqueries in the Column List
  • Using the CASE Expression
  • Ordering Rows
  • Controlling Row Display


6. Aggregating the Data

Upon completion of this module, students will be able to write Transact-SQL queries that add up values across rows based by group, filter the result set based on aggregated values, include aggregated values with detail rows, pivot rows into columns and define rank and row numbers.

  • When is the Aggregation Performed?
  • Grouping and Aggregating
  • Pivoting Data
  • Aggregate Window Functions
  • Using Ranking Functions


7. Modifying the Data

Upon completion of this module, students will be able to define the attributes of a database transaction, control the start and end of a transaction, add rows to a table, delete rows from a table, update values in a table and merge a result set into a table. The student will also be able to generate a result set of changes made during an INSERT, UPDATE, DELETE or MERGE statement.

  • Defining Database Transactions
  • INSERT Statement
  • DELETE Statement
  • UPDATE Statement
  • MERGE Statement


8. Modules

Upon completion of this module, students will be able to create a database view and in-line table value functions that filter columns and rows. Students also will be able to create and execute a simple stored procedure with parameters and create and execute simple scalar/multi-statement user-defined functions.

  • Layers of Abstraction-Three Schema Architecture
  • Creating and Using Views
  • Creating and Using User-Defined Scalar Functions
  • Creating and Using Inline-Table Valued Function
  • Creating and using Stored Procedures
  • Creating and Using Multi-Statement Table-Valued Functions


9. Procedural Logic

Upon completion of this module, students will be able to write Transact-SQL scripts that loop, test conditions, handle exceptions and conditions and display messages to users. Students will also be able to write procedural logic for Stored Procedures and User-defined Functions.

  • SQL Batch
  • Niladic Functions
  • Local Variables
  • Conditional Processing
  • Iterative Processing
  • Branching
  • Exception Handling
  • Structured Exception Handling
  • PRINT and RAISERROR Statement
Audience

This course is intended for SQL Server Developers, Database Administrators, and System Engineers who are responsible for writing T-SQL queries for an application.

Prerequisites

Before attending this course, students should have familiarity with programming and developing software using any language.

What You Will Learn
  • Describe the objects that make up a database, data relationships within the database and how databases guarantee uniqueness of defined objects.
  • Understand different sublanguages of SQL.
  • Use the SQL Server Management Studio
  • Write a simple SELECT statement, returning all the columns and rows.
  • Formulate and write a meaningful join strategy to bring together all necessary data.
  • Utilize a subquery to reshape data before using it in a query
  • Write a WHERE clause to filter the rows
  • Control the display of data
  • Write Transact-SQL queries and aggregated values
  • Define the attributes of a database transaction and generate a result set
  • Create a database view and in-line table value functions and execute simple scalar/multi-statement user-defined functions
  • Write procedural logic for Stored Procedures and User-defined Functions
Student Comments (118)
Comments about enhancing the Courseware
"Very valuable class. Peter did an excellent job. There is a lot of information. Peter helped us develop our ability to work with SQL and to begin to grasp how much there is no know. I really appreciated the reviews each morning. The initial presentation could be challenging due to the speed and amount of material, but the review helped solidify what we learned."
May 17, 2024 | SQL250 Student
Comments about the Instructor
"I would take another course from Peter."
May 17, 2024 | SQL250 Student
Comments about the Instructor
"Peter was always able to assist and make sure everyone understood the concept. He was always willing to help or tell you to wait as the question you brought up would be answered in a future module. Very happy with the class I went in with zero exposure to SQL and now i feel i have a good base to work with my colleges to build on."
May 17, 2024 | SQL250 Student
Comments about the Instructor
"Peter was great! I really liked in the beginning of class how he talked about reasons students do not ask questions - it reduced anxiety about speaking up. Allowing plenty of time for questions and discussions helped keep the class engaged, which is something I typically struggle with having ADHD. I loved the pacing of the class and reinforcement of the material. This is the highest I've ever rated a class through Interfacett!"
May 17, 2024 | SQL250 Student
Comments about the Instructor
"Instructive and likeable - a good mix."
May 17, 2024 | SQL250 Student
Load More Comments