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 |
where we will put the control file ,where we will run sql star loader what is the cmd?
wht is difference between is and as varibales,while declaring procedure which is better?
what r the objects u have to do in u experiance
Difference between triggers and procedures?
explain p2p cycle? what are the tables used for this?
What are basic steps for AIM?
do you know is it possible to run the interface without using oracle apps?
Can we run a package with out specification?If yes how?
what are the functions you are used in utl_file at the time of transferring the data?
How You Will display the key flexifields in your report
What is Place holder Columns?
how to avoid duplicate data while uploading data from flatfile to staging table? some validations