Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Large Data Load with Commit

Status
Not open for further replies.
Mar 31, 2003
22
EU
Hello,

I have a table (TblA) with 30m records.

I want to do an Insert into (TblB) that will commit every 100k records at a time....is this possible?

Thanks
 
Jimmy,

if you use the import command you have the option to specify commitcount, in your case commitcount 100000.

Cheers
Greg
 
Hi Greg,

I was just looking at the syntax for the Import command and as far as I can see you can only Import from a file.

My current code,

Insert into TblA
Select .. ... from TblB
(a couple of joins etc..)
Commit;

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top