Загрузка...

Oracle PLSQL Tutorial 42- Before and After Trigger in PLSQL #PL/SQL #oracleplsql

In this Video, We are explaining about Before and After Trigger in PLSQL with Example.

What is Before Trigger?

Data Validation:
Before inserting an employee record, a trigger can check if the salary entered is within the valid range for their position.
Setting Default Values:
Before inserting an employee record, a trigger can automatically set the employee joining date to the current date and time.
Preventing Invalid Data:
Before deleting a employee record, a trigger can check if the employee has any dues and prevent the deletion if they do.

What is After Trigger?
Auditing:
After an employee record is updated, a trigger can log the changes made to an audit table.
Notifications:
After a new employee is joined, a trigger can send an email notification to the manager and the other department.
Updating Related Tables:
After a employee salary is updated, a trigger can update the SALARY in related tables like HIKE.

Advantages of Before and After Triggers
Data Integrity:
Enforce business rules and constraints to ensure data accuracy and consistency.
Automation:
Automate tasks that would otherwise require manual intervention, saving time and effort.
Improved Security:
Prevent unauthorized data modifications and enhance the overall security of the database.
Some other Video related to PL SQL tutorial.
Oracle PLSQL Tutorial 41- Difference Between Row and Statement Level Trigger in Oracle PLSQL #plsql
https://youtu.be/sbE8EpgenjY

Oracle PLSQL Tutorial 40- Trigger Part 3 (ROW Level Trigger) in Oracle PLSQL #plsql
https://youtu.be/mgQNYulubYA

Oracle PLSQL Tutorial 39- Trigger Part 2 (Statement Level Trigger) in Oracle PLSQL #plsql
https://youtu.be/jxmHXsgw05A

Oracle PLSQL Tutorial 38- Trigger Part 1 in Oracle PLSQL #plsql
https://youtu.be/a93Bo7VtEdk

Oracle PLSQL Tutorial 37- Package Part -2 with Example in PLSQL
https://youtu.be/teL8qdwYW8w

Oracle PLSQL Tutorial 36- Package Part -1 with Example in PLSQL
https://youtu.be/Y7dMNSB59i4

Oracle PLSQL Tutorial 35- PRAGMA EXCEPTION_INIT with Example in PLSQL
https://youtu.be/4MWu_AHMHbM

Oracle PLSQL Tutorial 34- RAISE_APPLICATION_ERROR with Example in PLSQL
https://youtu.be/qncI6ve1aR4

Oracle PLSQL Tutorial 33- User Defined Exception with Example in PLSQL
https://youtu.be/iu47_kfszw4

Oracle PL/SQL Tutorial 32- Exception Handling with Example in PLSQL
https://youtu.be/AokubrUjiXg

Oracle PL/SQL Tutorial 31- Parameter Modes in Procedure(IN,OUT,INOUT) with Example
https://youtu.be/-a6tqkz85pc

Oracle PL/SQL Tutorial 30- Stored Procedure in PLSQL with Example
https://youtu.be/6KoJPY5vA04

Oracle PL/SQL Tutorial 29- Function INOUT Parameter in PLSQL with Example
https://youtu.be/k1HUR7-uzfU

--------------------------------------------------------------------------------------------------------

Our Social Link:-
Link (Blogger) :
https://javainhand.com
Link (Facebook Group )
https://www.facebook.com/groups/145218296146795/?ref=bookmarks
Link (Facebook Page)
https://www.facebook.com/javainhand2017/

Видео Oracle PLSQL Tutorial 42- Before and After Trigger in PLSQL #PL/SQL #oracleplsql канала JavaInhand Tutorial
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять