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
Define data access layer?
What are all the classes that are available in System.Data Namespace?
How to store data in memory?
Can you explain how to enable and disable connection pooling?
What is data relation?
What does executequery return?
What is ole in excel?
What is connected architecture in ado.net?
what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?
How to check if a datareader is closed or opened? IsClosed()
Explain how to bind the controls(best practice) comboboxes to the data in the dataset?
What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?
What connected data?
What is disconnected scenario in entity framework?
What are the ado.net components?