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 Triggers and Rules?

Answer Posted / rajendra prasad reddy penumall

these two are SQL concepts

TRigger is a special type of stored procedure that
automatically takes effect when the data in a specified
table is modified.
triggers invoked in response to an INSERT,UPDATE OR DELETE
STATEMENT EXECUTED.
TRIGGERS are used to handle some exceptional conditions
if u r moving data 40 MB into data base,But data base having
only 30 mB free space then the trigger fires automatically
and the entire transaction automativcally roll backs.

Rules:
Rules are database objects used to enforce data integrity.
this object bound to column or userdefined data types.
to ensure that only valid values are allowed to insert in
to columns.

so trigger acts automatically nad rollbacks the transaction
when error is occured.

rule is used to enforce data integrity on a column or user
defined data type.

are you clear if you want any clarification please mail to
me.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you had a choice debugging deadlock problem or a livelock Problem, which would you choose? Why ? How would you proceed?

3478


What is the chemical formula of detergent?

1104


What is hydra?

1120


Name the two most abundant elements in the universe?

969


What are all the base services provided by the os in client server environment?

1063


Is hcl an acid or a base?

1116


How to send 10,000 mail?

1069


The tyndall effect can be demonstrated when light is passed through which of the following?

1015


What are the differences between organic and inorganic chemistry?

1114


What wavelengths can the human eye see?

1210


What is structured query langauge (sql)?

1118


Which is an organic molecule?

1141


What is the full form of hcl?

1206


Do you know what are triggers and rules?

1164


How do you separate the colors of ink?

1045