Request Info

Salutation

First Name

Last Name

Job Title

Department

Mailstop

Company

Address

P.O. Box

City

Province

Postal Code

Country
List

Work Telephone

Ext.

E-mail Address

Information provided will be used to communicate with you about our products.
Privacy Statement

A representative will contact you to follow up your request.

 
Special offer: Free Courses with Training Vouchers.

 

SQL Server Transact-SQL® Programming:
Hands-On


Course 5324 Days

 E-mail E-mail  Print Print  Q&A Q&A  PDF PDF  Facebook Facebook  Twitter Twitter

Quick Enrol

You Will Learn How To

  • Develop database applications for SQL Server databases with Transact-SQL
  • Create modular code using stored procedures
  • Develop reusable code with scalar- and table-valued functions
  • Handle Transact-SQL runtime errors to create robust software
  • Audit data changes using AFTER triggers
  • Manage concurrency using transactions and locking options

Course Benefits

Transact-SQL is integral to the power of SQL Server. Transact-SQL features allow developers to create scalable, distributed applications to meet the demanding requirements of modern organizations. This course provides extensive experience creating stored procedures and triggers, and developing T-SQL that utilizes SQL Server to the fullest.

Who Should Attend

Database developers, administrators and analysts who want to expand their knowledge of SQL Server 2005 or 2008. Experience with SQL Server at the level of Course 137, "SQL Server 2008 Comprehensive Introduction," is assumed.

Hands-On Training

A series of hands-on exercises provides immediate experience in Transact-SQL development, including:
  • Adding a column to a database table using ALTER TABLE
  • Passing data into a stored procedure using parameters
  • Modifying data in a transaction
  • Intercepting errors with TRY...CATCH
  • Calling a user-defined function in a SQL statement
  • Writing triggers to carry out advanced validation
  • Tracing metadata changes with DDL triggers

Course 532 Content

SQL Server Architecture

  • SQL Server edition overview
  • Introducing the tools
  • SQL Server Management Studio

Managing Tables with DDL

Creating schemas

  • Managing schemas
  • Referencing schemas versus using the default schema
  • Hiding schemas with synonyms

Building tables

  • Selecting appropriate SQL Server data types
  • Constructing tables with CREATE TABLE

Adding constraints

  • Enforcing uniqueness using PRIMARY KEY and UNIQUE constraints
  • Validating relationships using FOREIGN KEY

Retrieving Data with Transact-SQL Stored Procedures

Batch and stored procedure processing

  • Minimizing network traffic using batches and procedures
  • Stored procedure compilation and execution
  • Using scalar functions

Selecting data

  • Developing stored procedures that extract data from multiple servers
  • Executing dynamic queries using OPENROWSET and OPENQUERY
  • Executing remote procedures
  • Combining results from multiple databases
  • Capturing RETURN values from stored procedures

Declaring variables and parameters

  • Creating and utilizing local variables
  • Passing input and output parameters
  • Interrogating global variables

Calling built-in scalar functions

  • Converting data using CAST and CONVERT
  • Ordering data with ranking functions

Maintaining Data

Modifying data

  • Inserting, updating and deleting data
  • Ensuring data consistency with transactions and distributed transactions
  • Managing concurrency with isolation levels
  • SQL Server locking fundamentals
  • Avoiding blocking problems with read-committed snapshot isolation
  • Managing locks using hints

Programming procedural statements

  • Implementing conditions with IF...ELSE
  • Looping with WHILE and GOTO
  • Creating code blocks with BEGIN...END
  • Debugging with PRINT
  • Returning data using RETURN
  • Debugging T-SQL in Management Studio

Handling errors

  • Communicating problems to the client with RAISERROR
  • Intercepting errors with TRY...CATCH
  • Dealing with open transactions when an exception occurs

Producing server-side result sets

  • Building and using temporary tables
  • Processing rows on the server with a cursor
  • Taking advantage of table variables

Developing Views, Functions and Triggers

Storing queries on the server

  • Concealing complexity with views
  • Solving business problems using multistatement table-valued functions

Creating user-defined functions

  • Calculating values with scalar functions
  • Processing multiple rows returned from a table-valued function
  • Taking advantage of schema binding

Formulating triggers

  • INSTEAD OF vs. AFTER triggers
  • Detecting row changes using the inserted and deleted tables
  • Tracking metadata changes with DDL triggers
  • Auditing user access using a LOGON trigger
  • Tracking data changes with the OUTPUT clause

<< Back to SQL Server Course List
 

Related Courses


Transact-SQL is a trademark of Sybase, Inc.
 
SQL Server Transact-SQL Programming: Hands-On

Training Dates

Live online classroom training. Participate in person or in live, online events (highlighted) via Learning Tree AnyWareTM.
May 29 - Jun 1Ottawa enrol
Jul 10 - 13Toronto enrol
Oct 2 - 5Ottawa enrol

US Dates

Apr 2 - 5New York enrol
May 1 - 4Rockville, MD enrol
May 15 - 18Alexandria, VA enrol
Jun 5 - 8New York enrol
Jun 26 - 29Reston, VA enrol
Jul 31 - Aug 3New York enrol
Aug 28 - 31Rockville, MD enrol
Sep 25 - 28Alexandria, VA enrol
Oct 9 - 12Reston, VA enrol
Oct 23 - 26New York enrol
Dec 18 - 21Rockville, MD enrol

For AnyWare enrolments, please register at least 10 days prior to the start of the course.

More Dates and Locations.

Tuition

$ 3,220Standard Tuition
Tuition with a Savings Plan
$ 2,2952-Course Passport
$ 1,8353-Course Passport
$ 1,7604-Course Passport
$ 2,950Voucher 5-Pack
$ 2,830Government Discount

On-Site &
Custom Training

Bring this or any Learning Tree course to your location or have it customized for your organization.

SQL Server Transact-SQL Programming: Hands-On

Participants debugging a Transact-SQL stored procedure.


Average Attendee Evaluation

Evaluations in the last 12 months

5 stars:
75%
4 stars:
22%
3 stars:
3%
2 stars:   0%
1 star:   0%

 
"The knowledge I gained from my Learning Tree Course enabled me to take on more responsibility at work. It really enhanced my skills!"

– N. Shaker
Morgan Stanley

 
What's in It for You: Exploring the Benefits of the SQL Server 2008 Database Engine

Certification Core Course Vendor Cert - Microsoft