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

How to Read, Add, Update and Delete record in Entity Framework ?

1040


What are the advantages of oledb compared with other classes?

2798


What is the meaning of executenonquery?

1071


What is ado.net connection?

965


What are typed and untyped dataset?

1112


How we can provide data to ado.net?

1047


How can I retrieve two tables of data at a time by using data reader?

1023


What are the features of ado.net?

1046


Which is faster entity framework or ado.net?

939


What is the significance of CommandBehavior.CloseConnection ?

1172


In how many ways we can retrieve table records count? How to find the count of records in a dataset?

1013


What is the difference between Response.Expires and Reponse.ExpiresAbsolute?

1029


Define atomicity?

1041


Explain the differences between oledb sql server, oledbdotnet provider?

1017


How does entity framework work?

927