Overview
This three-day instructor-led course provides students who wish to develop and maintain SQL Server databases Additionally, it will be of use to individuals who administer applications that deliver content from SQL Server databases.
Target Audience
The primary audience for this course is individuals who will develop and maintain SQL Server databases as their primary area of responsibility, or work in environments where databases play a key role in their primary job.
Prerequisites
In addition to their professional experience, students who attend this training should already have the following technical knowledge:
Essential:
-
Basic knowledge of the Microsoft Windows operating system and its core functionality.
-
Working knowledge of Transact-SQL. (equivalent knowledge to QATSQL and QATSQLPLUS)
Nice to have:
-
Working knowledge of relational databases.
-
Some experience with database design.
Virtual Classroom
For learners attending remotely via any virtual classroom, an additional screen is required for this course to work through remote desktop labs and view training information. A remote Desktop will be provided using GoToMyPC or LearnOnDemand.
The additional screen must have a minimum screen size of 19 inch and minimum resolution of 1280x1024, with the vertical resolution (1024) being the most critical.
If you have questions,contact our Virtual team.
Delegates will learn how to
After completing this course, students will be able to:
-
Design and Implement Tables.
-
Describe advanced table designs
-
Ensure Data Integrity through Constraints.
-
Describe indexes, including Optimized and Columnstore indexes
-
Design and Implement Views.
-
Design and Implement Stored Procedures.
-
Design and Implement User Defined Functions.
-
Respond to data manipulation using triggers.
Outline
Module 1 : SQL Development Overview
- Lab 1:
- Exercise 1 – Create an empty database using the graphical interface
- Exercise 2 – Create an empty database using T-SQL
Module 2: Designing and Implementing tables
- Lab 2:
- Exercise 1 – Review and plan client requirements
- Lab 3:
- Exercise 1 – Refine the column names
- Exercise 2 – Data types, nullability, and identity settings
Module 3: Advanced table design
- Lab 4 – Creating tables and schemas
- Exercise 1 – Create two schemas
- Exercise 2 – Create the tables
- Challenge exercise one (if time permits) – change an object’s schema
- Challenge exercise two (if time permits) – table with computed column
- Lab 5 – Partitioning
- Exercise 1 – Create a new database for partitioning
- Exercise 2 – Create a partition function and partition scheme
- Exercise 3 – Create a table using the partition scheme
- Challenge exercise (if time permits) – switching partitions
- Lab 6 – Temporal tables
- Exercise 1 – Create a new database for temporal tables
- Exercise 2 – Create a Stock table with history
- Exercise 3 – Load test data
- Exercise 4 – Temporal queries
Module 4: Constraints
- Lab 7 – Primary key, default, and check constraints
- Exercise 1 – Add primary keys
- Exercise 2 – Add the default constraints
- Exercise 3 – Add the check constraint
- Exercise 4 – Testing constraints
- Challenge (if time permits) – Email check
- Lab 8 – Unique constraints and foreign keys
- Exercise 1 – Add the unique constraint
- Exercise 2 – Add the foreign keys
- Exercise 3 – Testing
Module 5: Indexes
- Lab 9 – Rowstore Indexes
- Exercise 1 – Questions
- Exercise 2 – Analyse common queries
- Exercise 3 – Adding data
- Exercise 4 – Trial queries without indexes
- Exercise 5 – Create indexes
- Exercise 6 – Trial queries with indexes
- Lab 10 – Columnstore indexes
- Exercise 1 – Create a new database
- Exercise 2 – Create sample and populate tables
Module 6: Views
- Lab 11 – Creating views
- Exercise 1 – Creating views
- Exercise 2 – Testing the views
- Exercise 3 – Editing rows through views
- Lab 12 – Modifying views
- Exercise 1 – Altering views
- Exercise 2 – Testing the views
Module 7: Stored procedures
- Lab 13 – Stored procedures
- Exercise 1 – Creating simple procedures
- Exercise 2 – Testing procedures
- Lab 14 – Stored procedures and parameters
- Exercise 1 – Creating parameterised procedures
- Exercise 2 – Testing procedures
Module 8: User defined functions
- Lab 15 – Scalar functions
- Exercise 1 – Creating scalar functions
- Exercise 2 – Testing scalar functions
- Lab 16 – Inline table-valued functions
- Exercise 1 – Creating inline table valued functions
- Exercise 2 – Testing in-line table valued functions
- Exercise 3 – Using CROSS APPLY
- Lab 17 – Multi-statement table-valued functions
- Exercise 1 – Creating multi-statement table valued function
Module 9: Triggers
- Lab 18 – DML FOR / AFTER trigger
- Exercise 1 – Create a DML FOR or AFTER trigger
- Lab 19 – DML INSTEAD OF trigger
- Exercise 1 – Creating a DML INSTEAD OF trigger
Frequently asked questions
How can I create an account on myQA.com?
There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.
If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".
If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.
Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.
How do QA’s virtual classroom courses work?
Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.
We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting (more details in the link below) to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.
How do QA’s online courses work?
QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.
All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.
When will I receive my joining instructions?
Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.
When will I receive my certificate?
Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.