- Understanding triggers in sequel…Triggers are blocks of code just like…the stored procedures that we took a look at.…Now the difference,…and the reason we call these triggers,…is they are triggered. You got it.…By a preset action.…A log on or something like that.…A modification, a deletion.…So that action triggers this block of code.…Now triggers are controversial.…
Some people like them and some,…including your author, do not like them.…The reason I don't like triggers,…is that triggers are hidden.…That is, we can look at the code,…but when we fire the table,…then they can cascade out and…do all kinds of changes and I don't like that.…I like a clear path through my codes.…I can see Dre, call a, call b,…call c, call d…and I can look through the call stack.…
Triggers are, as I said, have the ability to…just get away and I don't like that.…There's some performance considerations.…Triggers can be less effective,…or that is use more resources than other…ways of doing the same thing.…But, that's not my main beef with them.…
Author
Released
11/12/2015- Working with SQL Server development tools
- Designing database tables
- Utilizing schemas with tables
- Using constraints to enforce integrity
- Understanding how SQL stores and locates data
- Designing database views
- Working with stored procedures
- Using triggers to modify data
- Creating in-memory databases
Skill Level Intermediate
Duration
Views
Related Courses
-
Querying Microsoft SQL Server 2012
with Gerry O'Brien5h 34m Beginner -
SQL Server 2014: Installation and Administration
with Ron Davis3h 40m Intermediate
-
Introduction
-
Welcome43s
-
-
1. Working with SQL Server Development Tools
-
Managing projects with SSMS7m 30s
-
2. Designing Data Tables
-
Reviewing database normalization11m 23s
-
Introduction to designing tables10m 27s
-
Designing tables9m 12s
-
Altering tables2m 41s
-
-
3. Understanding the Concept of Constraints
-
4. Storage and Indexes
-
How SQL stores data7m 11s
-
5. Designing Views
-
Introducing views7m 28s
-
Creating and managing views2m 38s
-
-
6. Working with Stored Procedures
-
7. Performing Data Modification with Triggers
-
Understanding triggers4m 18s
-
Utilizing triggers4m 1s
-
-
8. In-Memory Databases
-
What is in-memory?9m 45s
-
In-memory: More details7m 5s
-
Creating in-memory tables2m 15s
-
In-memory stored procedures6m 52s
-
Migrating6m 3s
-
-
Conclusion
-
Next steps1m 13s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Understanding triggers