Topic: SQL*Plus and PL/SQL >> Gettin a error while inserting in a transaction
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: Gettin a error while inserting in a transaction |
| rachit |
Posted: Mar 05, 2008 01:24:18 PM |
Total Post: 5
Joined: Nov, 2007
|
hi all,
I am unable to insert records in a table.
The scene is the i am inserting records from a table which has around 50000000 records.
I can insert the selected records (based on a where clause) in the destination table from the table (with 50000000 records) when i am not writing the insert statement in a transaction.
But when i write it in a transaction(begin tran) the sp just hangs up when it comes to that insert..
Do we have a solution for this from anyone?? |
|
|
Devesh |
| Posted: Mar 11, 2008 09:25:15 AM | |
|
Total Post: 29
Joined: Oct, 2005
|
U need to insert records in a part using commit after regular insertion, better to use cursor and after every 10000 records use commit.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 333 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|