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 |
What is difference between pl and sql?
Is it possible to pass parameters to triggers?
Which is faster truncate or drop?
Is sqlexception checked or unchecked?
What are character functions?
How does pl sql work?
Create table emp (id number(9), name varchar2(20),salary number(9,2)); The table has 100 records after table created.Now i nee to change id's Datatype is to be Varchar2(15). now Alter table emp modify(id varchar2(15),name varchar2(20), salary number(9,2)); Whether it will work or returns error? post answer with explanation.
What is a primary key? Explain
How many row comparison operators are used while working with a subquery?
how to write utl file pkg in SQL
how to check myisam tables for errors? : Sql dba
What is the primary key?
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)