Topic: Database Administration >> unable to insert records
|
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: unable to insert records |
| rachit |
Posted: Mar 05, 2008 01:30:59 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?? |
|
|
Gitesh |
| Posted: Mar 19, 2008 12:46:06 AM | |
|
Total Post: 322
Joined: May, 2005
|
Use commit in the loop after some bunch of data inserted like 1000 rows,10000 rows.
|
|
|
|
|
| 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 | 814 |
| Mohammed Taj | 694 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| positive fanatic | 361 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 239 |
| neeraj sharma | 228 |
| Ramesh Jois | 226 |
| snehalatha p | 169 |
|
|