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
Do you use stored procedure in ado.net?
Explain the architecture of ado.net?
What do you know about ado.net's objects?
How to creating a SqlCommand Object?
What does datareader object do?
What is a non query?
What is ole in vb?
What is ado or jdbc?
Explain how can we load multiple tables in to dataset?
Which method is used by command class to execute SQL statements that return single value?
What do you mean by performing asynchronous operation using command object?
What is difference between datatable and dataset?
What are the classes in System.Data.Common Namespace?
How to enable and disable connection pooling?
What are all components of ADO.Net data provider?