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
What is data profiling in sql?
What does closing a cursor do?
Can a foreign key be null?
How do I count duplicates in sql?
Why do we need sharding?
What does where 1 1 mean in sql?
Explain the difference between drop and truncate commands in sql?
Why cross join is used?
What is scope of pl sql developer in future?
What is basic structure of pl sql?
What is java sql drivermanager?
What is data manipulation language?
Define commit, rollback and savepoint?
How many commands are there in sql?
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba