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 / sairam

Both will be used to implement business rules.

Constraints will do memory location to table comparision.
where as triggers will do table to table comparision.
for this triggers will use magic tables(inserted,deleted).

In the order of precedence first Constraints next Triggers,
But performance wise triggers will give best performance
because table to table comparision is faster than memeory
location to table comparision.

Is This Answer Correct ?    17 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the openxml statement in sql server?

1079


What is sub-query in sql server?

1209


What are a scheduled jobs?

956


Explain database normalization?

1234


John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?

948


What are the types of table?

981


How does SSIS(Sql Server Integration Services) deffer from DTS(Data Transformation Services)?

1215


What is sql server english query?

1137


How efficient you are in oracle and SQL server?

1164


What is table-valued sub query?

974


What is the rdl file?

139


Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?

1051


Is sql server implemented as a service or an application? : Sql server database administration

971


How many types of stored procedures are there in sql server?

1020


What is the meaning of resultset type_scroll_insensitive?

956