What is the autonomous transaction?give me example?
Answers were Sorted based on User's Feedback
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 |
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 |
What is Summary columns?
How to insert data into two tables using single control file?
Explain the multi-organization structure.
What is responsibility?
INBOUND INTERFACE: Suppose I have 100 Records of employees in flat file.When moving the records from flat file to STAGING table using >CTl file, I want to restrict the records whose salary is less than 500.what are the validations(or conditions) you write to achieve this.
What is GLOBAL TEMPORARY TABLE and It's significance ?
What will happen If I am not giveing the Suspense accout while defineing the Set of Books in GL?
what is the diff between custom.pll and form personalization? Tell me one example?
i have 3 parameters like p1,p2,p3.In p1 i have 2 parameters like a,b.if pass parameter 'a' p2 should be enable and p3 should be disable then if pass parameter 'b' the vice versa.
1 Answers IBM, Sierra Atlantica,
Hi any one plz help me .i need 2 or 3 customized and 2 or 3 development reports on PO module..if any body having plz send me with one by one step ,i mean where u do the customization and wht are the steps u follwed when u do the customization,wht are fields u added or deleted ,How u added or these fields as per clinet requirement and wht are errors u faced .plz send it to my mail id iamvenki@gmail.com
how can i print random rows in plsql table
What is multoorg and what is it's level or structure