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

What is bcp? When does it use?

989


How do I get to sql server configuration manager?

1062


How do I install only the client tools of sql server 2000?

1129


How to round a numeric value to a specific precision?

1126


Explain about builtinadministrator?

1114


How do you delete a data source?

1052


What does ss stand for sexually?

1143


Suggest a method of joining two tables.

1232


Why you need indexing? Where that is stored and what you mean by schema object? For what purpose we are using view?

957


What are the export options of ssrs?

178


What is server-level principal?

122


How to create a ddl trigger using "create trigger" statements?

1187


Explain nested join?

1034


Find first and last day of current month in sql server

1080


What is a hint?

1056