Answer Posted / madhuri
Triggers are basically PL/SQL procedures that are associated
with tables, and are fired whenever a certain modification
(event) occurs. The modification statements may include
INSERT, UPDATE, and DELETE.
The general structure of triggers is:
CREATE [OR REPLACE]TRIGGER trigger_name
BEFORE/AFTER
INSERT/UPDATE/DELETE ON tablename
[FOR EACH ROW [WHEN (condition)]]
BEGIN
...
END;
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
How to use boolean type in select statement?
What is a unique constraint?
What is foreign key in sql with example?
How to Execute a Package in PL/SQL.?
Can we join tables without foreign key?
What is the function that is used to transfer a pl/sql table log to a database table?
How to disable a trigger name update_salary?
What is compilation error in pl sql?
Explain the insert into statements in sql?
What is Collation Sensitivity ? What are the various type ?
Is it possible for a table to have more than one foreign key?
What are the parts of a sql statement?
What steps server process has to take to execute an update statement?
What is the difference between a query and a report?
What is scalar data type in pl sql?