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 ?    31 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 meant by nl2br()? : Sql dba

1 Answers  


What does varchar include?

1 Answers  


How to change the order of columns in Oracle SQL Plus ?

1 Answers   MCN Solutions,


Does varchar need length?

1 Answers  


If you want a column to be part of the result set, after which SQL keyword does it belong? 1. SELECT 2. FROM 3. WHERE 4. GROUP BY 5. HAVING

10 Answers   HCL, TCS,


Is join an inner join?

1 Answers  


How to check if a column is nullable before setting to nullable?

1 Answers  


What is spool?

1 Answers  


how can we repair a mysql table? : Sql dba

1 Answers  


How will you make performance better for application including front end and back

2 Answers   Metric Stream,


Is pl sql still used?

1 Answers  


how can we know the number of days between two given dates using mysql? : Sql dba

1 Answers  


Categories