What is the autonomous transaction?give me example?
Answer Posted / ramesh babu v
Autonomous transaction can be devided into two parts as
parent&child,both(parent&child) are run simultaniously and
individually run.
EX:
create table R1(B1 number);
Table created.
create table R2(B2 number);
Table created.
/
1 create or replace procedure p1
2 as
3 pragma autonomous_transaction;
4 begin
5 insert into R1 values(101);
6 commit;
7* end;
/
Procedure created.
/
select * from R1;
B1
---
101
/
> create or replace procedure p2
2 as
3 begin
4 insert into R2 values(102);
5 p1;
6 rollback;
7 end;
8 /
Procedure created.
SQL> select * from R2;
no rows selected.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
how can develope the po variance and po summary report? with tables mandatory columns and query please?
how can i print random rows in plsql table
is it possible to run the interface without using oracle apps?
What do you understand by soa and what are the benefits of using this architecture?
How to move the one file from one instance to another instance? And your scripts also?
What do you understand by concurrent programs?
tell me the scenarios of the independent in reports
List the various types of value set.
How is choreography different from orchestration?
What do you understand by soa?
Are you familiar with internet architecture of oracle apps 11i?
please any one provide the oracle erp technical interview questions on modules(PO,AP,AR,INV,GL,OM)wise to my mail id..narendra_609@yahoo.co.in
do you know is it possible to run the interface without using oracle apps?
what is global tempory table?
Can you differentiate between mediator and osb?