What is a 'instead of trigger'?
Answers were Sorted based on User's Feedback
Answer / swapna
We can use 'instead of triggers' for views.Using these
instead of triggers we can perform DML operations on a
complex view.In complex views we can not perform DML
operations.But using instead of triggers we can insert ,
delete,update from complex views.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / kmbkrishnan
Instead of Trigger is also like the FOR trigger, which
are triggered at that time of Insert or update or delete.
The FOR trigger will be triggering After the
Insert / Update / Delete (DML) opreation is executed. But
the Instead of Trigger will be triggering while the DML
operation held and the DML operation is discarded.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / suresh kumar somayajula
These Triggers are used to modify the VIEW whaich can't be
modified by DML statements.
Thank you,
Suresh.
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain the difference between drop and truncate commands in sql?
What does cursor do in sql?
Can procedure in a package be overloaded?
Lookups are a key component in sql server integration services (ssis). Explain its purpose?
Can a primary key be a foreign key?
wtite down triggr not any entry on Sunday
suppose u hav 1 book with set...page 1-100 n 101 -200 now print page from 2-100 n 102 -200... how we will do..?
Differentiate between % rowtype and type record.
How do I make sql search faster?
Is primary key an index?
Can we update views in sql?
how to eliminate null values in a column i.e table vlaues 1 2 3 NULL 3 4 1 5 NULL i want output like this 1 2 3 3 4 1 5 i dnt want to use nvl is null and i dnt want replace the NULL value with any value i.e nvl(col,o);
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)