Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Provider Logo

Programming SQL Server Database Triggers and Functions

via Pluralsight

Overview

SQL Server Triggers and Functions can be powerful tools for the DBA. In this course we'll demonstrate best practices, provide solutions to common problems, and identify when Triggers and Functions are the best choice for your requirements.

As a SQL Server Database Developer, it is often necessary to have business-layer logic that exists within the database to ensure clean, consistent data. Although constraints and foreign key relationships can go a long way to provide the essential relational guarantees, Triggers provide the ability to validate and act on data at the time of modification, while Functions help you provide consistent methods for accessing the data across applications. In this course, Programming SQL Server Triggers and Functions, you will learn foundational knowledge to better administer and develop efficient, high-performing Triggers and Functions. First, you will learn how to develop DML, DDL, and LOGON Triggers, and how to avoid common mistakes. Next, you will discover the differences between Multi-Statement and Single-Statement functions and how to write the most efficient functions possible. Finally, you will explore some lesser-known features and upcoming improvements in newer versions of SQL Server that can improve your overall experience with Triggers and Functions. When you are finished with this course you will have the skills and knowledge needed to administer and develop efficient, high-performing Triggers and Functions.

Topics:
  • Course Overview
  • Validating and Modifying Data with DML Triggers
  • Protecting the Database with DDL and Logon Triggers
  • Working Smarter with Triggers
  • Reusing Code with Functions
  • Scaler and Table-valued Functions
  • Improving Function Performance with Inline Table-valued Functions

Taught by

Ryan Booz

Related Courses

Reviews

0.0 rating, based on 0 reviews

Start your review of Programming SQL Server Database Triggers and Functions

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free