From the course: Complete Guide to Advanced SQL Server
What you should know - SQL Server Tutorial
From the course: Complete Guide to Advanced SQL Server
What you should know
In this Complete Guide to Advanced SQL Server, we're going to tackle a number of topics that will help bring your SQL Server knowledge to the next level. To keep things organized, I've split the content into five main sections. First, we'll take a look at programming SQL Server databases using a number of different objects. This includes creating views for your data tables, writing custom functions and stored procedures, and working with transactions to protect the consistency of data, reads and writes. Section 2 is all about triggers. Triggers will bring a level of automation to your databases and allow them to react to specific conditions as they occur. In Section 3, I'll introduce SQL Server Ledger, which is a feature that can be used in auditing and verification scenarios to prove that data has not been tampered with. Section 4 dives into machine learning through an integration with the Python scripting language. Here, we'll see how to run Python commands directly on the server, so that data doesn't need to be exported first and moved outside of the secure envelope. Finally, we'll wrap up the course with a comprehensive firewall project in Section Number 5. To get the most out of this course, I'll expect that you have some familiarity with SQL Server and the Graphical Interface Management Studio. You should be able to write Transact-SQL commands, and have an understanding of how tables and keys work in a relational database. Finally, it'll be easiest to follow along if you're working on a free Developer Edition server where you have administrative level access, as we'll need to go in and adjust some settings and perform other tasks that require elevated permissions. If you feel like you need an introduction or a refresher on SQL Server, then I'd highly recommend that you take a look at my course: SQL Server 2022 Essential Training, as it'll give you everything that you need to be successful here. That course also has videos on installing SQL Server Developer Edition if you need to take care of that before we get started.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
Write and execute a stored procedure7m 43s
-
(Locked)
Stored procedure input parameters7m 38s
-
(Locked)
Stored procedure output parameters3m 38s
-
(Locked)
Create a database trigger3m 37s
-
(Locked)
Challenge: Use function in a stored procedure1m 25s
-
(Locked)
Solution: Use function in a stored procedure7m 43s
-
-
-
(Locked)
What is error handling?1m 52s
-
(Locked)
Capture errors with TRY and CATCH4m 54s
-
(Locked)
Generate errors with THROW4m 12s
-
(Locked)
Manage transaction control4m 4s
-
(Locked)
Challenge: Add error handling to a stored procedure1m 12s
-
(Locked)
Solution: Add error handling to a stored procedure12m 12s
-
(Locked)
-
-
Automate SQL Server with triggers1m 48s
-
(Locked)
What are SQL Server triggers?3m 37s
-
(Locked)
Two triggers types: INSTEAD OF and AFTER2m 34s
-
(Locked)
Create a trigger to print a message6m 17s
-
Timestamp a table modification5m 31s
-
(Locked)
Firing INSTEAD OF triggers3m 23s
-
(Locked)
Challenge: Create a trigger58s
-
(Locked)
Solution: Create a trigger7m 10s
-
-
-
(Locked)
The Anaconda open-source packages7m 27s
-
(Locked)
Functions in the revoscalepy package1m 48s
-
(Locked)
Model, train, and score with microsoftml1m 16s
-
(Locked)
Produce graphics with Matplotlib7m 53s
-
(Locked)
Get descriptive statistics with pandas7m 45s
-
(Locked)
Challenge: Sample a DataFrame1m 12s
-
(Locked)
Solution: Sample a DataFrame5m 21s
-
(Locked)
-
-
(Locked)
Return values with indexes and series6m 8s
-
(Locked)
Convert a series to a DataFrame4m 40s
-
(Locked)
Add multiple series to a DataFrame3m 12s
-
(Locked)
Include the index in a DataFrame4m 44s
-
(Locked)
Slice a DataFrame to series4m 23s
-
(Locked)
Challenge: Import and process data52s
-
(Locked)
Solution: Import and process data6m 44s
-
(Locked)
-
-
GameScore database final project setup2m 38s
-
(Locked)
Create a trigger to add points to player records6m 30s
-
(Locked)
Calculate global score with custom function4m 7s
-
(Locked)
Write a stored procedure: Part 16m 19s
-
(Locked)
Write a stored procedure: Part 24m 44s
-
(Locked)
Add error handling and test the system: Part 16m 14s
-
(Locked)
Add error handling and test the system: Part 25m 52s
-