Exforsys
+ Reply to Thread
Results 1 to 3 of 3

What is the Need of this concept

This is a discussion on What is the Need of this concept within the Oracle Database forums, part of the Database category; I have just started by hands on triggering concepts in SQL.I wanted to know the need of database Triggers? Can ...

  1. #1
    Ralph is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    114

    Exclamation What is the Need of this concept

    I have just started by hands on triggering concepts in SQL.I wanted to know the need of database Triggers? Can someone brief me on this?


  2. #2
    Girish Tawry is offline Junior Member Array
    Join Date
    Feb 2007
    Answers
    1

    Use of Triggers.

    Triggers are used to have are reaction code for any action on the data of the table. i.e. if you want to have some code that has to be executed when ever there is an insert/update/delete on a table.


  3. #3
    siva sankar is offline Member Array
    Join Date
    Feb 2007
    Answers
    31
    Hi,

    Trigger is pl/sql block, which will excute automatically whenever an event occurs this is called trigger.
    Types of triggers:
    1.Data base triggers
    2.Instead of trigger
    3.session trigger

    Database Trigger(table):
    This trigger will fire table level only
    before/after
    Insert/update/delete
    for each row/statement

    Instead of trigger(view):
    This trigger will fire view level only

    If any queries please let me know.

    Thanks,
    Siva Sankar


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...