What are the differences between Database Trigger and
Integrity constraints ?

Answers were Sorted based on User's Feedback



What are the differences between Database Trigger and Integrity constraints ?..

Answer / ganesh

Trigger: A set of pl/sql statments that are stored
permenantly in the database it activates when ever the DML
operations performed on the table.

constraints: Set of predefind rules are applied on table
column while creating the table or after creating the
table. and automatically performed when DML statemets are
performed by user.

the main differece between the two is
trigger will not effect the existing rows(it will effects
only new rows after creating a trigger on a table),
where as in the constraints it will effect the existing
rows also.

Is This Answer Correct ?    10 Yes 0 No

What are the differences between Database Trigger and Integrity constraints ?..

Answer / nilkantha

I can't find the answer.Pls Give me the right answer

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Databases AllOther Interview Questions

Explain storage manager?

0 Answers  


What is the purpose of TNS?

0 Answers   Tech Mahindra,


What is a Transformation?

0 Answers   Informatica,


give a simple example of physical and logical data independence

0 Answers  


What is ole db source in ssis?

0 Answers  






Explain file manager?

0 Answers  


What is the advantage of varchar2 over char?

0 Answers   ADITI,


How does non-cluster index functions?

0 Answers   Alcatel-Lucent,


What is the difference between database and server?

0 Answers  


hOW TO LOAD SOURCE INTO TARGET 2 TIMES?(INFORMATICA)

2 Answers  


What does new grouping sets enables you to do?

0 Answers   ADITI,


List some advantages of dbms.

0 Answers  


Categories