what are Triggers?

Answer Posted / kaarthi v

Triggers are the database objects (Like Procedures) which
will be executed by the Database itself and cannot be
excuted by the user explicitly. The trigger can be written
to execute while inserting/ updating/ deleting a row.

Two types of triiger

ROW LEVEL TRIGGER
===============
Row Level triggers are FOR EACH ROW, that is, the trigger
is activated for each row that is inserted/updated/deleted.

STATEMENT LEVEL TRIGGER
=====================
Statement level triggers will execute the action specified
only once. (Will not consider the no. of rows being
inserted/updated/deleted)

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to rename an existing table?

605


How a database is related to tablespaces?

576


how to do daily transactions with out sql* loader control file regesterd in apps?

1216


How to create a single index for multiple columns?

556


What is the recommended interval at which to run statspack snapshots, and why?

2430






How to synchronize 2 schema's objects?

1682


How to get maxsal , minsal, ename department wise in single query

1008


How to check your oracle database 10g xe installation?

577


What are the limitations oracle database 10g xe?

566


How to convert numbers to characters in oracle?

582


State and explain the different types of data models?

527


How can you use check constraints for self referential integrity?

520


How to create a new table in oracle?

587


How to call a stored function with parameters?

559


how to convert .db (extention) database file into .dmp (extention ) for oracle database ?

2056