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 Diff b/w Constraints and Trigeer

Answer Posted / saraswathi muthuraman

TO apply business rule we are using Constraints and trigger.

If we have any computation and validation over the
calculated value we have choose "trigger".


Direct validation like the column should not contain null
values then you can choose Constraints.

Constraints : NOT NULL,UNIQUE,PRIMARY KEY,CHECK,REFERENCE

Trigger effected only those row after which trigger applied
but constraint effected all row of table .

Is This Answer Correct ?    24 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you update sql?

966


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

1146


Does sql*plus have a pl/sql engine?

1067


What steps server process has to take to execute an update statement?

973


How do I count rows in sql?

999


How to run sql*plus commands in sql developer?

1151


What is the order of sql select?

1041


What is sql constant?

1026


What is the purpose of my sql?

946


what is a table called, if it has neither cluster nor non-cluster index? What is it used for? : Sql dba

972


Why do we need cursors in pl sql?

1076


Define concurrency control. : Transact sql

1182


Differentiate between % rowtype and type record.

1296


What is the purpose of normalization?

1039


Explain the select statement in sql?

1107