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
Can we use ddl commands in pl sql?
How many scalar data types are supported in pl/sql?
what is collation? : Sql dba
How you can copy a file to file content and file to pl/sql table in advance pl/sql?
How do I run a sql query?
What is the purpose of the partition table?
what is acid property in database? : Sql dba
Can we insert in view in sql?
What is pivot query?
What is where clause in sql?
Is left join same as join?
How does sql store data?
what is blob? : Sql dba
Determine if oracle date is on a weekend?
What does joining a thread mean?