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 |
i want to know about mr.b.kotravel......who has answered for second maxmium salary from employee table
After update how do u know how many records got updated
What is private procedure oracle?
What is backup in Oracle?
SELECT THE RECORDS FROM 3 TABLES LIKE(T1,T2,T3) AND HOW CAN WE INSERT THAT RECORD IN ANOTHER TABLE LIKE(T4)?
What is the data pump export utility?
1. How actually index will work ? 2. Why do people prefer mostly bitmap index and btree index in datawarehouse ? 3. If I use the column in aggrigate functions like max,min,count and avg and if I have a index created on that column, will it increases the performance ?
Which of the following is not a database object TABLESPACE TABLE INDEX NONE
Is it possible to split the print reviewer into more than one region ?
How can we force the database to use the user specified rollback segment?
Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?
How to convert a date to char in oracle? Give one example.