Seminar Microsoft Transact-SQL Programming (Canada) Seminar

Presented by Hands-On Technology Transfer

Hands On Technology Transfer Computer Training

Bring this seminar on-site to your facility for groups of 10 or more.

This Transact-SQL programming course teaches students relational database fundamentals and SQL programming skills in the Microsoft environment

Course Description


This Transact-SQL programming course teaches students relational database fundamentals and SQL programming skills in the Microsoft environment. Topics covered include relational database architecture, database design techniques, and simple and complex query skills. The course covers T-SQL programming constructs, predefined data types including XML, deployment of stored procedures and triggers, CLR integration, use of the Service Broker, use of Views, and transaction locking.

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 triggers as well as complex queries and updates. Extensive hands on exercises are used throughout to reinforce learning and develop real competency.

Prerequisites

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

Relational Database Fundamentals
  • Overview of Relational Database Concepts
  • Relational Databases and Relational Database Management Systems
  • SQL, DML and DDL Languages
Manipulating Query Results
  • Using Row Functions
    • Character
    • Numeric
    • Date and Time
    • Data Conversion
  • Using Column Functions
  • Handling NULLs
  • Aggregating Results using GROUP BY
  • Restricting Groups with the HAVING Clause
Writing Basic SQL Queries
  • Displaying Table Structures
  • Column Datatypes
  • SELECTing Column Data FROM a Table
  • SELECT DISTINCT Values
  • COUNTing Rows
  • Restricting Rows using the WHERE Clause
    • Using Operators
    • Mathematical
    • Logical
    • Comparison
    • Concatenation
    • Set Operators
  • Sorting Results Using ORDER BY
  • Joining Multiple Tables
  • Using Column and Table Aliases
  • Pseudo Columns
Advanced Query Techniques
  • Outer Joins
  • Joining a Table to Itself
  • Subqueries
  • Hierarchical Queries
  • Using the Data Dictionary
  • Tips for Developing Complex SQL Queries
Manipulating Table Data Using SQL's Data Manipulation Language (DML)
  • INSERT into Tables
  • UPDATE Table Data
  • DELETE from Tables
  • TRUNCATE Tables
  • Controlling Transactions
    • COMMIT
    • ROLLBACK
    • SAVEPOINT
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
    • Using Table and Column COMMENTs
    • Using SYNONYMs
  • Facilitating Development Using CASE Tools
Managing Database Objects
  • Dropping Tables, Indexes and Views
  • ALTERing Tables, Indexes and Views
  • Enabling and Disabling Constraints
  • Managing Security
Performance Tuning
  • Writing Efficient SQL
  • EXPLAIN Query Analysis
  • Indexing for Performance
  • Index-Organized Tables
  • Clustering
Stored Procedures
  • Definition and Benefits of Use
  • Perils and Pitfalls
  • CREATE PROCEDURE
    • Syntax
    • Variables and Parameters
    • Code Examples
  • Temporary Tables
  • Control of Program Flow
  • ALTER and DROP PROCEDURE
  • Implementation Differences
User-Defined Functions
  • Definition and Benefits of Use
  • CREATE FUNCTION
    • Syntax
    • RETURN Clause and the RETURNS Statement
    • Scalar vs. Table Functions
  • Comparison with Stored Procedures
  • Returning Scalar Values and Tables
  • ALTER and DROP FUNCTION
Triggers
  • Definition and Benefits of Use
  • Alternatives (e.g., Constraints)
  • CREATE TRIGGER
    • Syntax
    • Trigger Types
  • "Inserted" (or "NEW") and "Deleted" (or "OLD") Tables
  • Event Handling and Trigger Execution
  • Nested and Recursive Triggers
  • ALTER and DROP TRIGGER
Complex Queries
  • Improving SQL Queries with Common Table Expressions (CTE’s)
  • Building User Reports with Multi-Table Joins
  • Writing English-Like Queries
  • Allowing Users to Build SQL Queries Dynamically
  • Extracting Data for Business Intelligence(BI) Systems
T-SQL Code Constructs
  • Exploiting the Programming Features of T-SQL
    • Conditional Constructs
    • Looping Constructs
  • Building Multi-batch Scripts
  • Invoking System Functions
  • Declaring Variables Inside Scripts
  • Using Variables in Scripts
  • Using Temporary Tables in Scripts
  • Correctly Handling Errors
    • Error Handling
    • Debugging
    • Code Blocks
    • Predefined System Variables
  • Using the SQLCMD Utility
Working with Data Types and Functions
  • Effective use of Data Types in SQL
    • String
    • Numeric
    • Time/Date
    • Other
  • How to Convert Data
  • Converting Expressions Using the CAST Function
  • Controlling Formatting with the CONVERT Function
  • Creating Conditional Tests with the CASE Function
  • Substitution of Non-null Values with the COALESCE Function
  • Replacing Nulls with the ISNULL Function
  • Analyzing Data Points Using Ranking Functions
Transactions and Locking
  • Effective use of Transactions
  • Using Isolation Level
  • Implementing Data Integrity with Transactions
    • COMMIT
    • ROLLBACK
    • SAVEPOINT
  • Maximizing Concurrency with Correct use of Locking
    • Read Locks
    • Write Locks
    • Shared Locks
  • Increasing throughput by Choosing Appropriate Transaction Isolation
  • Preventing Deadlocks
More Stored Procedures
  • Designing a Stored Procedure
    • Input Parameters
    • Output Parameters
    • Default values
  • Implementing Exception Handling
  • Adding Fault Tolerant Transaction Logic
  • Designing Functions
  • Building Triggers
    • DDL Triggers
    • INSTEAD OF Triggers
    • AFTER Triggers
Advanced Views
  • Designing Views
  • Updating through a Vi

     

    More Seminar Information

    Hands-On Technology Transfer
    Hands On Technology Transfer Computer Training

    Summary

    This Transact-SQL programming course teaches students relational database fundamentals and SQL programming skills in the Microsoft environment

    Delivery Method

    Seminar Seminar

    Also Available As

    On-Site Training On-Site Training

    Who Should Attend

    Computer Industry Professionals

     
Search similar training
Email this page
Print this document
 

Dates and Locations

Quebec City, QC
5/25/2020 - 5/29/2020
Tuition: $2275

Montreal, QC
5/25/2020 - 5/29/2020
Tuition: $2275

Toronto, ON
5/25/2020 - 5/29/2020
Tuition: $2275

Ottawa, ON
5/25/2020 - 5/29/2020
Tuition: $2275

Mississauga, ON
5/25/2020 - 5/29/2020
Tuition: $2275

see all dates/locations

 

Frequently Asked
Questions

Payment Options
Bill Me/Invoice
Credit Card

Register
Online
Fax Form

Availability
Select a date from the list at the bottom of the page for specific information about that class.

Other Information
Seminar

All Date/Location Information

Ontario (Find training in Ontario)
5/25/2020-5/29/2020 in Kingston, ON         Find a seminar in Kingston ON
5/25/2020-5/29/2020 in Mississauga, ON         Find a seminar in Mississauga ON
5/25/2020-5/29/2020 in Ottawa, ON         Find a seminar in Ottawa ON
5/25/2020-5/29/2020 in Toronto, ON         Find a seminar in Toronto ON

Quebec (Find training in Quebec)
5/25/2020-5/29/2020 in Montreal, QC         Find a seminar in Montreal QC
5/25/2020-5/29/2020 in Quebec City, QC         Find a seminar in Quebec City QC