can we use commit in trigger? If yes how?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain the difference between architecture followed in 10g & 11g?

667


What do you understand by soa?

698


how can i print random rows in plsql table

1944


Can you differentiate between mediator and osb?

629


testing tools?

1758






What are the different components of soa suite?

728


List the types of flexfield?

605


How to create a purchase order without a requisition?

632


how do you describe O2C along with tables

2315


Tell me how to find the custom directory in front end?

666


What do you understand by concurrent programs?

623


Explain what are the tables of auto invoice?

650


what is pay run id ?

1712


what is global tempory table?

6313


Hi  Friends this is preetham, i am  searching for job on oracle apps(technical) i put 3 years fake exp, so any one  please could you help me for realtime interview  questions and 9739782164 this is my no srpsrp777@gmail.Com please guys please provide your no for contact i have a doubts i want to clarify

1576