Browse 554 attributed reviews, viewable separately for our classroom and online training
Classroom training -  Advanced SQL

Classroom Training

Advanced SQL

Classroom training course - online version also available

£750 + VAT for most venues (£895 + VAT for London)

2 days

If you already know how to write SELECT statements in SQL, maybe it's time to find out how to program in SQL with our advanced course! Learn how to create stored procedures (including passing parameters to them), write your own user-defined functions, work with temporary tables and table variables and much more.

Course details

  • Locations for Advanced SQL coursesPossible locations:London, Manchester, Online
  • Next Advanced SQL course locationNext classroom course:Thu 30 September 2021
  • Advanced SQL course timesTime:10.00-16.30

Course Contents

The contents of this course are as follows:

Stored procedures

  • Creating stored procedures
  • Executing stored procedures
  • System stored procedures

Variables

  • Declaring variables
  • SET versus SELECT
  • Tricks with variables
  • So-called global variables

Parameters and return values

  • Passing parameters
  • Default values / WHERE clauses
  • Output parameters
  • Using RETURN

Scalar functions

  • What they are
  • Writing user-defined functions
  • Worked examples
  • Pros and cons of scalar functions

Testing conditions

  • IF / ELSE statement
  • Using CASE where possible

Looping

  • Syntax of WHILE
  • Breaking out of a loop

Error-handling

  • Using TRY / CATCH
  • System error functions
  • Custom error messages

Deleting using SQL

  • Ways to drop tables
  • DELETE versus TRUNCATE

Updating data in SQL

  • The UPDATE statement
  • Updating using joins

Inserting data

  • Making tables (SELECT INTO)
  • Appending data (INSERT INTO)
  • Inserting individual rows

Creating tables

  • Creating tables in SQL
  • Primary keys and indexes
  • Adding relationships

Transactions

  • Beginning a transaction
  • Committing / rolling back

Temporary tables and table variables

  • Scope (local versus global)
  • Using temporary tables
  • Creating table variables
  • Pros and cons of each approach

Covered if time allows If time

Table-valued functions

  • In-line table-valued functions
  • Mult-statement table-valued functions

Derived tables and CTEs

  • Using derived tables
  • Common Table Expressions (CTEs)
  • Multiple CTEs in a single query

Covered if time allows If time

Debugging

  • Debugging queries and procedures
  • Setting breakpoints

Covered if time allows If time

Dynamic SQL

  • Building up dynamic SQL
  • Executing dynamic SQL
  • Disadvantages of dynamic SQL

Covered if time allows If time

Pivots

  • Assembling data for pivoting
  • Using PIVOT
  • Dynamic column headers

Covered if time allows If time

Triggers

  • Insert, update and delete triggers
  • Using generated tables (eg INSERTED)
  • Using INSTEAD OF

You should only attend this course if you have either attended our two-day introduction to SQL course or if you are comfortable creating queries using SQL.  The course shows how to write the dialect of SQL used by Microsoft (called T-SQL), using SQL Server Management Studio as a development environment.

Why Choose Us?

Sample customer feedback

Our thanks to everyone who agreed to share their thoughts (note that some of these reviews may be for our online courses).

"Everyone I have interacted with from Wise Owl has been very professional yet still very friendly. I thought the course would be quite daunting but the trainer made it very enjoyable and accessible! My colleague received training a while ago and highly recommended this course and he also loved his experience with Wise Owl! I'm excited to start my other course next week."

Kim McCord (LICC (The London Institute for Contemporary Christianity))

"We had an exceptional instructor who, as well as being incredibly knowledgeable, had the patience and understanding to adapt his teaching to each student. Would highly recommend for individual and team training. Course content was on point as well, which was the main reason to go with Wise Owl."

Tony Woolacott (British Tourist Authority)

"Very informative classes and the teacher was able to answer my questions and explain with various examples how to accomplish this. Fellow colleague recommended the course."

Jack Wright (Brooksby Melton College)

"Enjoyed the pace, content, manuals & exercises. Great!"

Deji Benson (Amigo Loans)

"Great trainer - very clear, easy to understand and set a perfect pace for everyone on the course. Great level of detail and fantastic content - all very useful. The booklet and exercises are super helpful both in the training and after. Lovely venue & perfect lunch choices. Honestly best course I've been on yet!"

Katie Stevenson (Barbican Insurance / Arch Capital Gp Ltd)

There are lots more where these came from (or just refresh this page to change the quotes shown).

Scheduled Advanced SQL training dates

Here are the classroom Advanced SQL courses we have scheduled for the next 3 months:

Dates Days Venue Price Booking
Thu/Fri 30th Sep/1st October 2021 2 £750 Book places
Tue/Wed 26-27 October 2021 2 £895 Book places
Tue/Wed 02-03 November 2021 2 £750 Book places
Thu/Fri 02-03 December 2021 2 £895 Book places
Mon/Tue 06-07 December 2021 2 £750 Book places
Date(s) Venue
30/09
26/10
02/11
02/12
06/12

All prices exclude VAT. If you can't see the dates you want, ask us about running onsite SQL training at your offices (we'll even provide and set up the computers).

Related Courses

Introduction to SQL

Basic

2 day course

Reporting Services RECOMMENDED

Introduction

2 day course

Introduction to SSIS

Introduction

2 day course

Other SQL training resources

SQL exercises

SQL exercises

Our advanced SQL exercises are based on simple, easy-to-understand databases, as you can see for yourself!

View SQL exercises

SQL videos

SQL videos

Although we firmly believe people learn best from people, we've also published a range of SQL tutorial videos online.

View Selecting data in SQL, SQL Server 2016, Advanced SQL (programming) or SQL Server 2017 videos

SQL skills assessment

SQL skills assessment

You can see how well you know SQL relative to others by taking one of our skills assessment tests online.

View Test your SQL skills skills assessment tests

SQL blogs

SQL blogs

Take a few minutes to see what blogs we've published on SQL on our website.

View SQL blogs

This page has 0 threads Add post