Introduction to SQL Server Transact SQL Course
Course Description
As well as looking at how to create and maintain scripts, stored procedures, user-defined functions and triggers this course will explore some of the additional TSQL features such as Views and Common Table Expressions (CTEs).
Course pre-requisites:
Topics covered on the 3 day Introduction to SQL Server Transact SQL course
Common Table Expressions (CTE)
- WITH Statement
- Nested Queries
- Recursive Queries
- CTEs Versus Temporary Tables
Views
- Creating Views
- Altering Views
- Dropping a View
- Views and security
- Using Views
- SELECT
- INSERT
- UPDATE
- DELETE
TSQL Programming
- Using Variables
- The USE Statement
- The PRINT Statement
- The IF Statement
- BEGIN and END
- The WHILE Statement
- The CASE Statement
- The TABLE variable type
Error Handling
- The @@ERROR Variable
- The RETURN Statement
- The RAISERROR Statement
Transaction Logging
- Locking
- Row Level Locking
- Key Level Locking
- Page Level Locking
- Extent Level Locking
- Table Level Locking
- Database Level Locking
- Transactions and Locks
- Transaction Isolation Levels
- Deadlocks
Implementing Cursors
- Transact-SQL Cursors
- Monitoring Transact-SQL Cursor Activity
- Declaring A Cursor With The DECLARE Statement
- Opening A Cursor With The OPEN Statement
- Fetching Records with The FETCH Statement
- Closing The Cursor With The CLOSE Statement
- Freeing A Cursor With The DEALLOCATE Statement
- Working With Cursors
- INSENSITIVE Cursors
- SCROLL Cursors
- Fetching Data With A SCROLL Cursor
- The @@CURSOR_ROWS Variable
- Working With Very Large Data Sets
- Changing Data Through Cursors
- READ ONLY Cursors
- Limited UPDATE Cursors
- Programming With Cursors
- Cursors & Locking
Stored Procedures
- Pre-Compiled Code
- Creating Stored Procedures
- Encrypting Stored Procedures
- Recompiling Stored Procedures
- Creating A Stored Procedure WITH RECOMPILE
- Altering Stored Procedures
- Dropping A Stored Procedure
- Stored Procedure Security
- Passing In Parameters
- Initialising Parameters
- Returning Values
- The RETURN Statement
- Modular Design
User Defined Functions (UDF)
- Stored Procedures Versus User Defined Functions
- Scalar Functions
- Inline Table Valued Functions
- Multi Statement Table Valued Functions
- Creating User Defined Functions
- Altering User Defined Functions
- Dropping User Defined Functions
Triggers
- Creating Triggers
- Update & Insert Triggers
- Altering Triggers
- Triggers & Constraints
- Realistic Application Of Triggers
- Stored Procedures & Triggers
- DDL Triggers
Course Classification:
Technical Training Course
This is an instructor led training course taught in a classroom based environment.
Scheduled course dates
| March 2010 | April 2010 | May 2010 | June 2010 | July 2010 |
| 17-19 | 14-16 | 12-14 | 16-18 | - |
View full schedule of Generic courses
View full schedule of SQL Server 2008 courses
Print / Download PDF Version of full course schedule
25% Late Availability Discount available on the course running on 17th - 19th March - Click for details
If you would prefer to run this course at your premises as you have several employees to place on the course perhaps, then we are also able to offer onsite SQL Training and bespoke SQL courses
The Introduction to SQL Server Transact SQL course qualifies for the PTR Training Passport SAVE IT Scheme, which offers discounts on bookings for multiple courses and/or multiple delegates.

