What is the autonomous transaction?give me example?

Answers were Sorted based on User's Feedback



What is the autonomous transaction?give me example?..

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

What is the autonomous transaction?give me example?..

Answer / ramesh

if we want to make one transaction as independent among other or parent transaction,we will use the concept call autanamous transaction,

we will use pragma autanamus_transaction keyword in order to make one transaction as independent,so this transaction will run idependently...

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Oracle Apps Technical Interview Questions

how can we return morethan one parameters in procedure?

2 Answers  


What are the different components of soa suite?

0 Answers  


While registering the concurrent program we first do the executable concurrent program and then define it . So why we need to give the application name twice in executable and as well as definitions

3 Answers   IBM,


what is item status? name the related table.

1 Answers   Scan Steel,


how to debug the report?

2 Answers   IBM, Qualcomm, Sierra Atlantica,






when we run payment batch what are the 3 concurrent programs?

1 Answers   Genpact, Wipro,


what is inbound and outbound interface?

2 Answers  


1—how we can create multi reports in xml publishers Ans: 2—how to print multi currency,multi language in xml 3—what are the validations in sql*loader 4—where u can get data file 5—where u r putting control file and where the bad file discard file generated 6—how to print external date in xmlp 7—in data file fields terminated by different sybals how you can write code in ctrl file 8—how to use date function in sql*loader 9—which path u have used in sql*loader 10—what are utl file triggers 11—where u can find errorbuf ret code 12 how we can know weather procedure is successfully executed from backend 13—data file contains how many levels 14—what kind of errors u got in discard file 15—how you can skip the records in thr middle of data file and end of data file 16—invoice created and send to the gl but we don’t know the invoice number how we can know 17—where u devlop interface program local syst or server system 18—how we can know how many receipts are created for a po 19—after completion of po interface into base table how we can see etair line header info in single table. 20—how to save a workflow in database in short cut? Can we delete workflow how 21—what are the common errors in workflow 22—strong cursor and weak cursor 23—what is external table where we will use 24—we have 50 record while printing in rdf report we have print 10 records per page how u can do 25—what is the difference between workflow and oracle alert 26—hot to implement muli org in interface approach 27—while loading records if the records no>=10 then all the records should be discarder,then error message populated how you can achieve 28—while picking the sales aorder qty is there in shipping there is no qty then what u will you will do 29—what is the next step after back order 30—if we do any modification in po_headers_v is it effects the base tables 31—what is tca architecture 32—where we can see the invoice payment 33—when selection existing customer in om what you will do 34—how to pass the values for the variables in api. 35—can we use look up values instead of profile options. 35—how to create ldt lct files? 36—how to tranfor on file from one instance to another instance?

1 Answers   IBM,


In thet custom.pll what are the events we can write.

2 Answers   IBM,


How is choreography different from orchestration?

0 Answers  


In Oracle Apps Some tables ends with TL,VL,what is the significance of the TL and VL?

9 Answers   TCS,


why r u transer the data base tables to flat file and what is use

3 Answers   Wipro,


Categories
  • Oracle Apps Technical Interview Questions Oracle Apps Technical (547)
  • Oracle Apps Financial Interview Questions Oracle Apps Financial (793)
  • Oracle Apps Manufacturing Interview Questions Oracle Apps Manufacturing (53)
  • Oracle Apps HRMS Interview Questions Oracle Apps HRMS (169)
  • Oracle Apps CRM Interview Questions Oracle Apps CRM (9)
  • Oracle Apps SCM Interview Questions Oracle Apps SCM (141)
  • Oracle Install Base Interview Questions Oracle Install Base (62)
  • Oracle Service Contracts Interview Questions Oracle Service Contracts (101)
  • Oracle Apps AllOther Interview Questions Oracle Apps AllOther (114)