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 normalization in one line?

0 Answers   C DAC, CDAC,


WHAT IS OPM?(IN DETAILED)

1 Answers   L&T,


What is the importance of database partitioning?

0 Answers  


What is ole db provider for sql server?

0 Answers  


What will happen non-clustered index will be created on clustered index?

0 Answers   Abacus,






in informatica workflow has 5 sessions and running seqentially and 3rd session has been failed how can we run again from only 3rd to 5th session

1 Answers  


How to do Stored procedure testing? Who does this testing (Developer or tester)?

0 Answers  


Its possible to use auto increment in oracle or not? If no means why?

1 Answers  


plz suggest me the book for preparation of NIC exam.

10 Answers   NIC,


Can we use redis as database?

0 Answers  


What are the types of indexes that are present inside a database?

0 Answers   Abacus,


How default key is different from primary key?

0 Answers   Abacus,


Categories