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 > DB2 > How To Import Data From Excel File

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-29-06, 00:42
singhipst singhipst is offline
Registered User
 
Join Date: Jul 2006
Location: Bangalore
Posts: 57
Red face How To Import Data From Excel File

Dear Friend,

I have one table in DB2 and some data in excel file.
Any one can tell me how to import all data from excel sheet to my table which is in DB2.
i am using windows 2003 server edition and office 2000 and DB2 UDB 8.2
__________________
Ritesh Kumar Singh
IBM Certified DB2 DBA for LUW
**Knowledge Is Theft If Not Shared !!**
Reply With Quote
  #2 (permalink)  
Old 08-29-06, 01:57
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
excel

save the excel sheet in csv format and try the db2 import command with file format del
db2 import from xxx.csv of del insert into tablename

if needed specify coldel
db2 import from xxx.csv of del modified by coldel" insert into tablename
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
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