What are the differences between Database Trigger and
Integrity constraints ?

Answer Posted / santu sarkar

1> A database trigger is written in PL/SQL. Integrity Constraints are CHECK Constraints, Not NULL, Unique key, primary key and foreign key.
2> Trigger will not affect the existing data. Constraint will affect the existing data.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between db2 and sql?

714


What is not null in sql?

777


State few characteristics of pl/sql?

719


how to enter numeric values as hex numbers? : Sql dba

761


What is materialized view. What are different methods of refresh?

1061






What is the difference between the conventional and direct path loads? : aql loader

895


What is a sql schema used for?

723


What is count * in sql?

743


What is assignment operator in pl sql?

760


How exception is different from error?

756


Is sqlexception checked or unchecked?

717


what is sql in mysql? : Sql dba

804


What is pl sql quora?

815


How to pipe multiline string to isql?

754


what is a composite key ? : Sql dba

792