Home » Developer & Programmer » Forms » Read Exteranal file Data at a time like bulk collect concept (Form 6i/10g)
Read Exteranal file Data at a time like bulk collect concept [message #561498] Mon, 23 July 2012 06:00 Go to next message
swapnil_naik
Messages: 269
Registered: December 2009
Location: Mumbai
Senior Member

Hi Friends,

I have external file like (.csv or .txt) which contain million of record...i wnat to upload it in backend by using form 6i/10g.

by using package text_io.fopen i read it and by using for..loop conventional method insert record into table...but it will take time..

Is there any way like we use bulk collect and FORALL in backend for inserting data into table..

Is there any way to read external file at a time and insert it ...so minimize inserting time....process will become fast.

Thanks...
Re: Read Exteranal file Data at a time like bulk collect concept [message #561499 is a reply to message #561498] Mon, 23 July 2012 06:03 Go to previous messageGo to next message
Littlefoot
Messages: 21813
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Load it with SQL*Loader.
Re: Read Exteranal file Data at a time like bulk collect concept [message #561501 is a reply to message #561499] Mon, 23 July 2012 06:05 Go to previous messageGo to next message
swapnil_naik
Messages: 269
Registered: December 2009
Location: Mumbai
Senior Member

But ca we call sql loader in form level...
Re: Read Exteranal file Data at a time like bulk collect concept [message #561502 is a reply to message #561501] Mon, 23 July 2012 06:07 Go to previous message
Littlefoot
Messages: 21813
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Sure, why not? Use HOST (or CLIENT_HOST) built-in.
Previous Topic: background colors not the same localy vs server
Next Topic: Doing development the proper way
Goto Forum:
  


Current Time: Sat Jul 06 09:46:43 CDT 2024