Can we create a trigger on view?



Can we create a trigger on view?..

Answer / Yogesh Kumar Sagar

No, triggers cannot be created directly on views. A trigger is associated with a specific table or a specific event on the table, and since views are not physical tables, triggers cannot be associated with them.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

write a pl/sql function if enter a value=0 then output value=1 and vise verse with out using if and case statements.

3 Answers   Zensar,


What is data type in sql?

1 Answers  


Define a temp table?

1 Answers  


How to create your own reports in sql developer?

1 Answers  


Compare SQL and PL/SQL.

3 Answers  


What is the relation b/w view and trigger

3 Answers   Accenture, TCS,


4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case when mod (level,2)=0then 2 else null end dept_id from dual connect by level<6 )A right outer join (select level emp_id ,level*200 salary ,case when mod (level,3)=0 then 2 else null end dept_id from dual connect by level<6)B On A.dept_id=B.dept_id And A.emp_id=B.emp-id;

1 Answers   Fintellix,


How many times can we commit in a loop?

1 Answers  


Can a table have two primary keys?

44 Answers   HCL, MetaCube,


What is the difference between cross join and natural join?

1 Answers  


Explain how procedures and functions are called in a PL/SQL block ?

3 Answers  


What is an implicit commit?

1 Answers  


Categories