can we use commit in trigger? If yes how?
Answers were Sorted based on User's Feedback
Answer / prasad reddy
Yes ,You can Commit inside the trigger.
But for this you have to make this trigger transaction to be
a Independent transaction from its parent transaction, You
can do this by using Pragma. Pragma AUTONOMOUS_TRANSACTION
allow you to build the Indepadent(child) Transaction,started
by another
Cheers
-Prasad
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / srinivasa reddy k
Generally we cannot use commit in triggers.
But it is possible to use commit in triggers by
mentioning "pragma autonomous_transaction;" in the
declarative section of the trigger.
| Is This Answer Correct ? | 18 Yes | 3 No |
what is mutating table and mutating error and how to solve that?
how can we get odd numbered pages in output of a report
Can u suggest me the best institute for Oracle apps Technical in Hyderabad?
why do we go for oracle apps technical other than sap and other packages?
where to define interorganization transaction charges and what are the different options?
Where we can write a PL/SQL code in report triggers?
What is oracle soa suite and what are its different components?
what are stock locators and how to define them? name the tables where the stock locator information is stored. at least two.
what is global tempory table?
In which directory your flatfile is given?if u connected different instance where it is find?
1) why we need to do Validations when the Standard Conc. Prog or the API will do all the validations 2) How can we display more then 1 column data in a formula column (Ex displaying Empno, Ename, sal data in one Formula column) 3) is it possible to give 2 out paramaters in a function
what is the back ground program run while transferring data from OM to AR?