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

what is difference between "Primary key" and "Unique key"?

4 Answers   PreVator,


What is sql injection vulnerability?

0 Answers  


What is function and procedure in pl sql?

0 Answers  


select 1,col1,col2 from table1. output?

5 Answers   Ramco,


What are the limitations of sql express?

0 Answers  






How to change sql*plus system settings?

0 Answers  


How to raise user-defined exception with custom sqlerrm ?

0 Answers  


Explain how can you save or place your msg in a table?

0 Answers  


What is pl sql record in oracle?

0 Answers  


What is benefit of creating memory optimized table?

0 Answers  


what is the difference between clustered and non clustered index in sql? : Sql dba

0 Answers  


Explain table and field in sql?

0 Answers  


Categories