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 |
While importing data into interface tables,if u got number of records are error(like more than 1000 records are error),how to imform user?
what is multi org structure?
HOW CAN YOU KNOW UPDATE STMT IS WORKED OR NOT IN PL/SQL?
What is instead of trigger in where we will use?
what are the types of interfacing?
Attribute data types?
Challenges faced during upgradation of 11i to R12
what is item status? name the related table.
oracle apps architecture
What is responsibility?
Stored procedure?
In SQL Loader i have 100 Records to be loaded into my table. How do i load the first 30 Records and skip the last 10 Records within a single .ctl file ? So my total no.of records to be loaded would be 60. Could anybody help me in this ?