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 meaning of object pooling?
Why is ADO.NET serialization slower than ADO ?
What is a dynaset in access?
What is disconnected scenario in entity framework?
What is the meaning of executenonquery?
What are the namespaces used in ADO.Net to connect to a database?
How to check if a datareader is closed or opened? IsClosed()
Explain the difference between an ado.net dataset and an ado recordset?
How to work with disconnected data - the dataset and sqldataadapter?
What is difference between datagridview and datagrid control in winforms?
What is DataRowCollection?
how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
Define data adapter?
What is the difference between ado.net and entity framework?
Which parameter of ConnectionString is used to specify the name of the database?