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

Which data type is a composite type?

974


Explain the the delete statements in sql?

1042


Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?

1080


What is the purpose of the primary key?

1050


How many clustered indexes can be created on a table?

1067


Which one is faster ienumerable or iqueryable?

917


explain the difference between myisam static and myisam dynamic. : Sql dba

927


List different type of expressions with the example.

928


what is the difference between cluster and non cluster index? : Sql dba

1007


what is normalization? : Sql dba

1070


How do I trace sql profiler?

954


Can dml statements be used in pl/sql?

1061


Is sql database free?

959


What type of database is sql?

1016


How many developers work on postgresql?

955