If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Import data from custom file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-16-10, 10:56
jakkamohankumar jakkamohankumar is offline
Registered User
 
Join Date: Aug 2010
Posts: 2
Post Import data from custom file

Hi all,

I've a situation where in am to load the data from a custom file into a table using oracle 9i(not supposed to use later versions). the file format is given below.

@col1 = col1_value,@col2 = col2_value,@col3 = col3_value,@col4 = col4_value
@col1 = col1_value,@col2 = col2_value,@col3 = col3_value,@col4 = col4_value
@col1 = col1_value,@col2 = col2_value,@col3 = col3_value,@col4 = col4_value
@col1 = col1_value,@col2 = col2_value,@col3 = col3_value,@col4 = col4_value

The data after loading and validating using a custom procedure, needs to be exported to a xml file.
Please help me out.
Reply With Quote
  #2 (permalink)  
Old 08-16-10, 11:04
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,415
Since you are going OS text file to OS text file, why get Oracle involved at all.
This could be done using PERL with a simple custom converted code.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #3 (permalink)  
Old 08-17-10, 02:43
jakkamohankumar jakkamohankumar is offline
Registered User
 
Join Date: Aug 2010
Posts: 2
thanks for the reply.
but, i cannot use technologies other than oracle. And there are some custom procedures and objects that take data for business from the table loaded from the file.
Reply With Quote
Reply

Tags
import, oracle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On