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 > Informix > Excell to informix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-11-06, 05:27
qirana qirana is offline
Registered User
 
Join Date: Jul 2006
Posts: 1
Excell to informix

hello there,
it`s posible for me to take all the data in the excell form to the current table in the informix. The column inside the excell is exactlly the same as the field inside the table in the informix. is there any tools or i need to do a script. if i need to do the script can i use in vb language?pleasse help me..
Reply With Quote
  #2 (permalink)  
Old 07-18-06, 01:42
nitin_math nitin_math is offline
Registered User
 
Join Date: Nov 2004
Posts: 143
Hi,

There are tools available in informix to load data from a flat file to informix table. You can use dbload or load utilities.

Save the excel file as CSV file, and use:

load from data.csv delimiter ","
insert into target_table

Bye

Nitin
Reply With Quote
  #3 (permalink)  
Old 08-15-06, 22:48
tungaw2001 tungaw2001 is offline
Registered User
 
Join Date: Nov 2002
Posts: 25
Convert your file first as csv. then, load it using the load command. I did it on my previous projects.

thnks
Reply With Quote
  #4 (permalink)  
Old 08-16-06, 13:18
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
if you do the "," delimited file then make sure there are no commas in you data or Informix will take that as a separate field.

If that's the case than the way I got around that is save the file as .txt tab delimited and then just substitute tab for a "|" in vi

Good luck
Reply With Quote
Reply

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