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 > Importing csv files

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-11-02, 08:44
tobyfreak tobyfreak is offline
Registered User
 
Join Date: Dec 2002
Location: Austria
Posts: 5
Question Importing csv files

Hello,

I have a general problem importing CSV files into an informix db. How can I import an csv file? I´m using dbaccess and odbc connection to ms access...

please help!

Tobias
Reply With Quote
  #2 (permalink)  
Old 12-11-02, 09:36
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
You can use simple sql:
load from 'file.csv' DELIMITER ','
INSERT INTO table

or you could use teh High Performance loader.

Manual are available on the internet:
http://www-3.ibm.com/software/data/i.../pubs/library/
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 12-11-02, 10:02
tobyfreak tobyfreak is offline
Registered User
 
Join Date: Dec 2002
Location: Austria
Posts: 5
Question thanks

thanks for the hints...
when using dbaccess, how do i transfer the csv files to the db server?

Tobias



Quote:
Originally posted by Roelwe
You can use simple sql:
load from 'file.csv' DELIMITER ','
INSERT INTO table

or you could use teh High Performance loader.

Manual are available on the internet:
http://www-3.ibm.com/software/data/i.../pubs/library/
Reply With Quote
  #4 (permalink)  
Old 12-11-02, 10:31
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
If you use dbaccess, dbaccess will look in the directory where you started dbaccess. So you 'll have to ftp the csv files to the dbserver.
You can also specify the full path name in the LOAD FROM clause
__________________
rws
Reply With Quote
  #5 (permalink)  
Old 12-11-02, 12:28
tobyfreak tobyfreak is offline
Registered User
 
Join Date: Dec 2002
Location: Austria
Posts: 5
thanks

Thank you Roelwe for your help!


Quote:
Originally posted by Roelwe
If you use dbaccess, dbaccess will look in the directory where you started dbaccess. So you 'll have to ftp the csv files to the dbserver.
You can also specify the full path name in the LOAD FROM clause
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