dbTalk Databases Forums  

db2 loader problem

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss db2 loader problem in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
amitabh.mehra@gmail.com
 
Posts: n/a

Default db2 loader problem - 10-10-2007 , 01:47 AM






Hi

I exported data from a table in database to a comma seperated flat txt
file. Each row in the flat file are seperated by a new line character.
When I load this flat file back into the table using the db2 loader,
this new line character is being considered as the part of the last
column by db2 loader.

I am using following commands to export and load data:
--> export to C:\attribute.txt of del select * from my_table
-->load client from C:\attribute.txt of del insert into my_table


Is there some way that I can prevent the db2 loader from considering
the new line character as part of last column in each row?

Thanks
Amitabh


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.