How to call a stored procedure inside a trigger? Give an
example.
Answer / pardeep
Using Call keyword we can call procedure inside trigger.
e.g.
CREATE OR REPLACE TRIGGER foo
BEFORE DELETE OR INSERT OR UPDATE ON <<table_name>>
FOR EACH ROW
BEGIN
CALL PROCEDURE_NAME();
END;
/
| Is This Answer Correct ? | 16 Yes | 5 No |
what is difference between sql plus and sql*plus? (not sql and sql plus).
What is Oracle table?
What is a Shared SQL pool ?
How to select the name of employee who is getting maximum sal with out using subquery
How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.
There are three tables : E : EID,ENAME D : DID,DNAME empdept : eid, did select the employees who doesn't belong to any dep
What is the difference between an Oracle Schema and an Oracle Instance?
What is a Redo Log ?
Explain the use of grant option in imp command.
How to delete a column in an existing table?
without using count(*) and rownum how can we count total record in a table
How can Oracle users be audited?