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 trigger?

Answer Posted / srividhya.s

Triggers are simply stored procedures that are executed
automatically by the database whenever
some event (usually a table update) happens.

sample:

CREATE [OR REPLACE]
TRIGGER trigger_name
BEFORE (or AFTER)
INSERT OR UPDATE [OF COLUMNS] OR DELETE
ON tablename
[FOR EACH ROW [WHEN (condition)]]
BEGIN
DBMS_OUTPUT.PUT_LINE(’Ur message to be
displayed ’ :NEW.NAME);
END;

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is disconnected architecture in ado.net?

1043


What is the difference between data grid and data repeater?

1139


What are the parameters that control most of connection pooling behaviours?

1119


What is the difference between executequery and executenonquery?

970


What is the use of connection object in ado.net?

1091


What is difference between datatable and dataset?

1128


Explain the basic use of "dataview" and explain its methods.

1058


How we can provide data to ado.net?

1125


What are basic methods of dataadapter?

1013


What is ado code?

998


How is it possible to get 2 tables of data at a time by using data reader?

990


Can we do database operations without using any of the ado.net objects?

1041


What is dataset and datatable in ado.net?

1042


What is the role of the dataset object in ado.net?

1151


What is an orm, and why would you use one instead of plain old ado.net?

1098