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 is subquery? : Sql dba

1187


How do I run a program in pl sql?

1053


difference between anonymous blocks and sub-programs.

1188


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

5877


how to use regular expression in pattern match conditions? : Sql dba

1086


Explain locks? : Transact sql

1050


Is vs as in pl sql?

1036


How many types of indexes are there in sql?

1039


what is the difference between char_length and length? : Sql dba

1105


What is difference between stored procedures and application procedures?

1062


What are pl/sql packages?

1154


Can we use distinct and group by together?

1102


Does access use sql?

1096


The select into statement is most often used to create backup copies of tables or for archiving records?

1115


What can I use instead of union in sql?

1020