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 is the difference between constraints and triggers?

Answer Posted / harshad more

Constraints are great at maintaining database integrity for
database fields and relationships between database tables.

Triggers are great for checking past vs. current values and
making decisions based on that data.

In my experience, it is usually much more favorable to use
constraints when possible and leave the trickier business
and auditing logic for use in triggers.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define compound operators?

862


How many types of objects are there?

935


What are the kinds of subquery?

951


what is the system function to get the current user's user id? : Sql server database administration

954


Why SQL Agent is used?

1065


Explain insert into select statement?

899


Explain use of expression builder.

949


How are the unique and primary key constraints different?

1003


What is the openxml statement in sql server?

1009


What is checkpoint process in the sql server?

962


What is instead of trigger sql server?

930


How to Sync Two SQL Azure Databases?

119


Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?

905


What is acid properties?

1019


Explain few examples of RDBMS?

974