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 oledb driver?
Is bulk insert faster than insert?
What is the difference in an abstract class and an interface?
How to retrieve the user id which is provided while windows authentication?
What are the advantages of ado.net?
How we can provide data to ado.net?
List all the steps in order, to access a database through ado.net?
What is an orm, and why would you use one instead of plain old ado.net?
Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.
What is ado oledb and odbc?
What is openrowset?
What is ado.net tutorial?
Define bubbled event?
Which is faster dataset or datareader?
How would you connect to a database by using .NET?