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 happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba

1029


What are records give examples?

999


What type of database is sql?

1019


What is java sql connection?

1042


What is a database? Explain

1103


What is sql injection owasp?

1052


How do I save a sql query?

1002


What is mutating table error?

1175


what is a join? : Sql dba

1025


What is the difference between microsoft access and sql server?

1048


How to start the command-line sql*plus?

1046


What is 19 null in sql?

953


What is sql*loader and what is it used for? : aql loader

1167


What are dml commands?

1016


What is varchar sql?

1129