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

What are schema-level triggers?

1102


What are the ddl commands?

1012


Is sql workbench free?

1003


What are pl sql procedures?

1027


How exception is different from error?

1019


What is t-sql? : Transact sql

988


Is natural join and inner join same?

929


What is mdb stand for?

1011


what is the difference between delete and truncate statement in sql? : Sql dba

1247


Is keyword pl sql?

1003


What is memory optimized table?

1047


What are sql commands?

1014


Can we use rowid as primary key?

989


What is server name sql?

1148


What is sqlca in powerbuilder?

1018