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

Explain the order of sql statement execution?

980


Why is partition used in sql?

1051


How to get help at the sql prompt?

1055


What is a pdo connection?

948


Are stored procedures faster than queries?

900


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

1082


What are triggers in sql?

974


What is query execution plan in sql?

1130


What does fetching a cursor do?

1022


What are pl/sql cursor exceptions?

1037


What is difference between cursor and trigger?

1021


what is schema? : Sql dba

987


Can one improve the performance of sql*loader? : aql loader

983


What is difference between primary and secondary key?

976


explain normalization concept? : Sql dba

998