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
What is the difference between sqlcommand and sqldataadapter?
What is difference between datareader and dataadapter?
Which object holds only data and does not interact with data source?
What is the difference between Response.Expires and Reponse.ExpiresAbsolute?
How to add a check box or a dropdown list to a column in a datagrid?
What is an example of ordinal data?
What is difference between datatable and dataset?
Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?
What are all the different methods under sqlcommand?
How many major types of connection objects in ADO.NET?
What is aggregate root?
How do you update a dataset in ado.net?
What is a serialized object?
What is ado full form?
Does ado.net use odbc?