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

Is not null in sql?

927


How to fetch alternate records from a table?

1157


what is the difference between myisam static and myisam dynamic? : Sql dba

1002


Explain mutating table error.

1130


What packages(if any) has oracle provided for use by developers?

5716


What is the use of double ampersand (&&) in sql queries? Give an example

1079


What are sql indexes?

934


What are the types of records?

951


What is a field in a database?

1005


What is full join in sql?

938


i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5

3925


what is query cache in mysql? : Sql dba

991


What is crud stand for?

931


What are the different tcl commands in sql?

1103


What is nvl?

1018