Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the differences between Database Trigger and
Integrity constraints ?

Answer Posted / kalyana chakravarthy

Intigrity constraints are Proactive-- Like they take the
cols into consideration before sitting on it like if U levy
a PK on a col having duplicate or null values it will not
obey to sit on that col

Triggers are reactive-- Triggres react only when a DML
occurs. When it comes and sit on a table then its starts
working and never considers what happened before it arrival

Both are used to perform business rules

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the sql commands?

1178


What does <> sql mean?

1085


Is delete faster than truncate?

1002


What are the different types of functions in sql?

1053


how to convert numeric values to character strings? : Sql dba

1106


How to know the last executed procedure?

1099


Which are the different character-manipulation functions in sql?

1065


what are date and time data types? : Sql dba

983


how can I make a script that can be bi-language (supports english, german)? : Sql dba

1015


How to read xml file in oracle pl sql?

913


How do I run pl sql in sql developer?

1116


What is an exception in PL/SQL? What are the two types of exceptions?

1310


Explain correlated query work?

1051


What is a dirty read sql?

1137


What are reports usually used for?

1023