473,385 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Autonomous_transaction

Dear Sir,

I wrote 3 procedures in a package and all are autonomous_transaction. I want to fill a table named t1 based on these three procedures. But while executing the 3 procedures are not filling the data at a time. Please advice me.

PACKAGE BODY EXEC is
procedure pro1 is
pragma autonomous_transaction;
begin
for i in 1..100000 loop
insert into t1 values(i,'a');
commit;
end loop;
end;
procedure pro2 is
pragma autonomous_transaction;
begin
for i in 1..100000 loop
insert into t1 values(i,'b');
commit;
end loop;
end;
procedure pro3 is
pragma autonomous_transaction;
begin
for i in 1..100000 loop
insert into t1 values(i,'c');
commit;
end loop;
end;
END;

call method
execute exec.pr01;
execute exec.pr02;
execute exec.pr03;

Regards,
Shan"
Jun 24 '07 #1
1 1209
debasisdas
8,127 Expert 4TB
Can you please specify what do you mean by filling the data at a time.

What exactly u want to achieve.

I think data must be inserting to the table by executing the procedure.
Jun 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: RobertGl | last post by:
Hi everybody! My problem is as following: I have a trigger which fires on delete of a table row. The body of the trigger checks and manipulates entries in other tables. If the entries have...
3
by: Tom Urbanowicz | last post by:
I have a trigger. Each time the triggering event fires, I want to insert some information into another 'audit-like' table (not at all related to the trigger). Some psuedo-code is below as to what...
7
by: Jeff Lambert | last post by:
We have a Windows client application written in delphi that connects to Oracle 8i w/ ADO. We accumulate a lot of SQL statements in a loop and finally send the strings list to be executed. What I...
2
kiss07
by: kiss07 | last post by:
Hi Any body refer the following questions.. 1) Autonomous Transaction(example program is better). 2) WHAT IS Mutating table and what is mutating trigger?How can i eliminate mutating trigger...
1
by: oracle newbie | last post by:
create table audit_info ( usr varchar2(50), log_time timestamp(6) ); Table created. create table err_log (log_cd varchar2(20), log_desc varchar2(500)
7
by: oracle newbie | last post by:
Is there a line of coding that will record down the number of login Within and Outside the Campus? I'm not sure how to make it Withina and Outside SQL> SQL> SQL> create table audit_info 2 ...
2
by: jith87 | last post by:
hi, how do you truncate a table inside a trigger(plsql) if the table size is more than 1000 records??? regards, jith
0
debasisdas
by: debasisdas | last post by:
PRAGMA:-Signifies that the statement is a pragma (compiler directive). Pragmas are processed at compile time, not at run time. They pass information to the compiler. A pragma is an instruction to...
3
by: pilnyj | last post by:
My quest is to create a function that returns a string value from a lookup table given the ID. If no match occurs, then I want to load that value into the lookup table. So here's my lookup...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.