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 the difference between blob and text? : Sql dba
What is crud diagram?
Can we call a function containing dml statements in a select query?
What are tables and fields in the database?
how does a local variable is defined using t-sql? : Transact sql
How do I save the results of sql query in a file?
what is the functionality of the function htmlentities? : Sql dba
what is text? : Sql dba
What is a sql instance vs database?
Can instead of triggers be used to fire once for each statement on a view?
Can %notfound return null after a fetch?
Why triggers are used?
Does truncate table reset auto increment?
Can we insert in sql function?
Does sqlite need a server?