How is INSTEAD OF trigger different from BEFORE and AFTER triggers?

What will be an ideal response?


The BEFORE and AFTER triggers are based on database tables. Oracle (8i onwards) provides another type of trigger called INSTEAD OF trigger, which is not based on a table but is based on a view. The INSTEAD OF trigger is a row trigger. If a view is based on a SELECT query that contains set operators, group functions, GROUP BY and HAVING clauses, DISTINCT function, join and/or ROWNUM pseudocolumn, data manipulation is not possible through it. An INSTEAD OF trigger is used to modify a table that cannot be modfied through a view. This trigger fires ‘instead of’ triggering DML statements like DELETE, UPDATE or INSERT.

Computer Science & Information Technology

You might also like to view...

What type of environment variables are established at login?

A. batch B. predefined C. local D. extended

Computer Science & Information Technology

When evaluating the efficiency of a search operation, you take a look at the ratio of true positives to false positives. The correct term for this statistic is ___________________.

a. Precision b. Relevance c. Recal d. Dominance

Computer Science & Information Technology

When the Internet was first introduced, many people used dial-up connections, which used existing telephone lines

Indicate whether the statement is true or false

Computer Science & Information Technology

Which one of the following categories of secure data removal techniques would include degaussing?

A. Clear B. Shrink C. Purge D. Destroy

Computer Science & Information Technology