What is the relation b/w view and trigger

Answers were Sorted based on User's Feedback



What is the relation b/w view and trigger..

Answer / rajesh venati

View are classified in to two types.
1. Simple View
2. Complex View

==>DML Operations are not possible in complex views, because,
if u create a view more than one table or
if u create a view using group function or
if u create a view using distinct keyword etc.,
those are called complex view.

If u want perform DML Operations on Complex Views, then we
will go for Instead of Trigger.

Through the Instead of Triggers we can perform DML
Operations on a Complex View.

Is This Answer Correct ?    30 Yes 1 No

What is the relation b/w view and trigger..

Answer / bmk

Both are database objects and it behaves diff.View doesn't
contain data and tied with sql.Trigger is an event,trigger
will create on table with after/before with DML operations.

Is This Answer Correct ?    4 Yes 0 No

What is the relation b/w view and trigger..

Answer / vivekanandhan

view is used to minimize the complex query of table(s), thru view we can do insert,update,delete where as trigger is an event which will execute automatically when any DML operations provided against the table.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Explain scalar functions in sql?

0 Answers  


What is execute immediate?

0 Answers  


Explain mutating table error.

0 Answers  


What is meant by <> in sql?

0 Answers  


Why procedure is used in sql?

0 Answers  






What is difference between a PROCEDURE & FUNCTION ?

6 Answers   Satyam,


What is a sql*loader control file?

0 Answers  


Explain the difference between 'between' & 'and' operators in sql

0 Answers  


What does := mean in pl sql?

0 Answers  


How to find string or key value using pl/sql code?

2 Answers   Ramco,


hi this is nakka i have been looking for 1+ exp in oracle sql,plsql developer positions also have knoledge on d2k i am not getting proper walkins how to know it? where can i find it?

5 Answers  


What is trigger in flip flop?

0 Answers  


Categories