What is a Trigger?
A trigger in SQL is a special kind of stored program that automatically executes when certain events occur in a table — such as an INSERT, UPDATE, or DELETE.
Think of it like a “background script” that runs whenever your data changes — no manual call needed!
No comments:
Post a Comment