Skip to main content
HomeSQLBuilding and Optimizing Triggers in SQL Server

Building and Optimizing Triggers in SQL Server

Learn how to design and implement triggers in SQL Server using real-world examples.

Start Course for Free
4 Hours15 Videos49 Exercises
12,278 LearnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies


Course Description

Auditing your SQL Server database and keeping data integrity can be a challenging task for DBAs and database developers. SQL Server triggers are special types of stored procedures designed to help you achieve consistency and integrity of your database. This course will teach you how to work with triggers and use them in real-life examples. Specifically, you will learn about the use cases and limitations of triggers and get practice designing and implementing them. You will also learn to optimize triggers to fit your specific needs.
  1. 1

    Introduction to Triggers

    Free

    An introduction to the basic concepts of SQL Server triggers. Create your first trigger using T-SQL code. Learn how triggers are used and what alternatives exist.

    Play Chapter Now
    Introduction
    50 xp
    Types of trigger
    50 xp
    Creating your first trigger
    100 xp
    Practicing creating triggers
    100 xp
    How DML triggers are used
    50 xp
    When to use triggers
    50 xp
    Creating a trigger to keep track of data changes
    100 xp
    Trigger alternatives
    50 xp
    Triggers vs. stored procedures
    100 xp
    Triggers vs. computed columns
    100 xp

In the following tracks

SQL Server DeveloperSQL Server for Database Administrators

Collaborators

Collaborator's avatar
Mona Khalil
Collaborator's avatar
Becca Robins
Collaborator's avatar
Marianna Lamnina
Florin Angelescu HeadshotFlorin Angelescu

Database Developer

I am an experienced database developer with over 7 years of expertise in SQL Server development and administration. I also use PowerShell actively for process and task automation and deployments. In recent years, I have developed a new passion for Azure services for migration and maintenance, diving further into moving on-premise services to cloud, which I truly believe is the future. I'm a proactive, results-oriented team player. I always want to learn new things and seek new challenges that will contribute to my professional development, and also feel accomplished when I can bring new knowledge to other people.
See More

What do other learners have to say?

Join over 13 million learners and start Building and Optimizing Triggers in SQL Server today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.