plsql Tutorial#20 trigger in oracle | DML Trigger |pl sql triggers in oracle database
ฝัง
- เผยแพร่เมื่อ 21 ก.ย. 2024
- In this pl sql trigger tutorial, we are going to learn a DML trigger in the oracle database.
What is trigger in the PLSQL database?
Triggers are stored programs, which are automatically executed
when some events (activity) occurs, event/activity can delete record,
update record creates table, login database etc.
Types of trigger
1) DML Triggers
- Normal DML trigger
- INSTEAD OF Triggers
2) DDL trigger
3) DATABASE operation Triggers
DML Triggers :
If any DELETE, INSERT, or UPDATE operation happen in database and you wanted
to automatically trigger/invoke some store program then it is called DML Triggers
DATABASE operation Triggers :
If any LOGON/LOGOFF/STARTUP/SHUTDOWN operation happen in database and you wanted to
automatically trigger/invoke some store program then it is called DDL Triggers
What DDL trigger :
If any CREATE, ALTER, or DROP operation happen in database and you wanted to automatically
trigger/invoke some store program then it is called DDL Triggers
INSTEAD OF CREATE Triggers :
When you issue a DML statement such as INSERT, UPDATE, or DELETE to a non-updatable view,
Oracle will issue an error
Oracle SQL Complete Tutorial/Training/Course for the beginner:
• Tutorial#1 Basics Of O...
follow me on:
Facebook Page:
www.facebook.c...
/ equalconnect
/ lrnwthr
Great lessons. Thank you so much for your insights. I enjoy your teachings.
l learnt so much from your series 🧡🧡
I learnt very well from this.
sir purpose of replace and the difference between before and after couldn't understand
Amazing content.
what will happen when alter and update keywords in same query.what type of trigger we should use
What is the data in Schema_audit statement?
You not show schema_audit program and directly run this statement
hi bro,since 2 years no updates from you.
how are you?
hope you are doing good,
i thank you so much for your plsql videos.
Yes I am to restart
Good 👍😊
error: what is meant by this why I get this error while compiling trigger "cannot create triggers on objects owned by SYS"
@pythonically I think u r trying create trigger which is came as part of oracle installation
Amazing
is it possible to create two or more triggers for ane table
Yes
okay!
send me all ppt