Call us at 1-800-413-0939

T-SQL Programming

Over 100 metro locations. Attend face-to-face, remotely or on site at your facility.

Travel Packages Remote Attendance

Microsoft Transact-SQL Programming

Duration: 5 Days

Price: $2595 *California residents and government employees call for pricing.

Remote Attendance: Click here for more information.

Students Will Learn:

  • Design normalized table structures for relational databases
  • Create databases and tables
  • Using primary and foreign keys
  • Writing SQL queries
  • Using inner and outer joins
  • Using set operators (UNION, INTERSECT, EXCEPT)
  • Using subqueries
  • Using triggers and stored procedures
  • Using aggregate functions┬áto return totals and subtotals
  • Programming features of T-SQL
  • Common table expressions
  • T-SQL specific data types and functions
  • T-SQL cursors

Microsoft Certified PartnerCourse Description: This Transact-SQL programming course teaches students relational database fundamentals and SQL programming skills in the Microsoft SQL Server environment. Topics covered include relational database architecture, database design techniques, and simple and complex query skills. The course also covers Microsoft-specific T-SQL programming constructs, creation and use of stored procedures and user-defined functions, use of cursors and updateable views.

This class is intended for analysts, developers, designers, administrators, and managers new to the SQL programming language. Upon completion, participants will understand SQL functions, join techniques, database objects and constraints, and will be able to write useful stored procedures and views as well as complex queries and updates. Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency.

Course Prerequisites: General computer knowledge. Familiarity with relational database concepts is helpful but not required.

Follow-up SQL 2012 Courses: Microsoft SQL Server 2012 Administration, SQL Server 2012 Reporting Services, SQL Server 2012 Business Intelligence Application Development (SSRS, SSIS, SSAS), SQL Server 2012 Business Intelligence: Integration Services and Analysis Services

Follow-up SQL 2014 Courses: Microsoft SQL Server 2014 Administration, SQL Server 2014 Reporting Services, SQL Server 2014 Business Intelligence Application Development (SSRS, SSIS, SSAS), SQL Server 2014 Business Intelligence: Integration Services and Analysis Services

Follow-up SQL 2016 Courses: SQL Server 2016 Reporting Services, SQL Server 2016 Business Intelligence Application Development (SSRS, SSIS, SSAS), SQL Server 2016 Business Intelligence: Integration Services and Analysis Services

Relational Database Fundamentals
  • Overview of Relational Database Concepts
  • Relational Databases and Relational Database Management Systems
  • Data Normalization
  • DDL Syntax
Writing Basic SQL Queries
  • Displaying Table Structures
  • Retrieving Column Data From a Table or View
  • Selecting Unique Values
  • Filtering Rows Using the WHERE Clause
  • Sorting Results Using ORDER BY
  • Joining Multiple Tables
  • Using Column and Table Aliases
Creating a Database
  • Database Development Methodology Overview
  • Building a Logical Data Model
    • Identifying Entities and Attributes
    • Isolating Keys
    • Relationships Between Entities
    • Creating Entity-Relationship Diagrams
  • Transforming to Physical Design
    • Migrating Entities to Tables
    • Selecting Primary Keys
    • Defining Columns
    • Enforcing Relationships with Foreign Keys
  • Constructing the Database Using DDL
    • Creating Tables, Indexes, Constraints and Views
    • Dropping Tables, Indexes, Constraints and Views
    • Modifying Tables, Indexes, Constraints and Views
Manipulating Query Results
  • Using Row Functions
    • Character
    • Numeric
    • Date and Time
    • Data Conversion (CAST and CONVERT)
  • Using the CASE Function
  • Handling Null Values
Advanced Query Techniques
  • Inner Joins
  • Outer Joins (Left, Right, Full)
  • Joining a Table to Itself
  • Subqueries
  • Tips for Developing Complex SQL Queries
  • Using Aggregate Functions
    • AVG
    • COUNT
    • SUM
    • MIN
    • MAX
  • Aggregating Results Using GROUP BY
  • Restricting Groups with the HAVING Clause
  • Creating Temporary Tables
  • Using Partitioned Aggregates
Manipulating Table Data Using SQL's Data Manipulation Language (DML)
  • Inserting Data into Tables
  • Updating Existing Data
  • Deleting Records
  • Truncating Tables
User-Defined Functions
  • Definition and Benefits of Use
    • Syntax
    • RETURN Clause and the RETURNS Statement
    • Scalar vs. Table Functions
  • Comparison with Stored Procedures
  • Returning Scalar Values and Tables
Stored Procedures
  • Definition and Benefits of Use
    • Syntax
    • Defining Input Parameters
    • Defining Output Parameters
    • Defining Optional Parameters
  • Implementation Differences
  • Definition and Benefits of Use
  • Alternatives (e.g., Constraints)
    • Syntax
    • Trigger Types
  • "Inserted" (or "NEW") and "Deleted" (or "OLD") Tables
  • Event Handling and Trigger Execution
Complex Queries
  • Using Wildcard Characters with Like
  • Improving SQL Queries with Common Table Expressions (CTE’s)
  • Using the OUTPUT clause
  • Allowing Users to Build SQL Queries Dynamically
T-SQL Code Constructs
  • Exploiting the Programming Features of T-SQL
    • Conditional Constructs
    • Looping Constructs
  • Building Multi-Batch Scripts
  • Invoking System Functions
  • Using Variables in Scripts
  • Using Temporary Tables in Scripts
  • Handling Errors
    • Using TRY...CATCH Blocks
    • Using System Variables and Functions
Working with Data Types and Functions
  • Effective Use of Data Types in SQL
    • String
    • Numeric
    • Time/Date
    • Other
  • Substitution of Non-null Values with the COALESCE and ISNULL Functions
  • Analyzing Data Points Using Ranking Functions
Using T-SQL Cursors
  • Overview of Cursors
  • Declaring a Cursor
  • FETCHing Results
  • Testing @@FETCH_STATUS and @@CURSOR_ROWS
  • Updating Records with Cursors
Working with Views
  • Benefits of Using Views
  • Creating Views
  • Modifying Data with an Updateable View
  • Course materials include student guide, hands-on lab manual and USB flash drive for examples and lab work
  • Students receive a certificate of completion at the end of class
  • Students can retake any portion of a class that has been completed, within 12 months at no extra cost
  • There are no registration fees or cancellation fees

Super excited to go back to work and start using everything I've learned. I finally understand concepts a co-worker has repeatedly tried to explain to me. Thank you so much.
— J.E., Victron Energy

Out of all the places I called, HOTT was the friendliest and the MOST helpful. Everyone I talked to or dealt with added to my pleasant experiences, helped walk me through the process, answered my questions and were very accommodating. Instructor was great and very knowledgeable.
— N.V., MedImpact Healthcare Systems

This was a fantastic course. Both the materials and presenter were received very well. The information was delivered in a logical straight forward manor. It was extremely useful to have the software to interact along with our instructor. I will be taking more learning class with HOTT in the future. Thank you.
— K.T., Direct Energy

Individual training passes: save up to 43%! For complete discount options » click here «

# Courses Total Cost Cost Per Course % Savings
2 $4,090 $2,045 22%
3 $5,490 $1,830 30%
4 $6,690 $1,672 36%
5 $7,790 $1,558 40%
6 $8,890 $1,482 43%

Multiple Training Locations - Convenience and Cost Control

Attend Regularly Scheduled Courses in More than 100 Cities Across North America and the United Kingdom or via Remote Attendance