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 > Load Data containing double quotation marks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-28-08, 17:59
tmoeller tmoeller is offline
Registered User
 
Join Date: Apr 2003
Posts: 30
Load Data containing double quotation marks

Hi,

we have a file containing data like this:

.....;"0234z98243";"Hints no 10/"sample text";294379874;........

as we try to load this into db2 we have the problem that the load always cuts off the data after 10/.

we tried every load option we could imagine and read through various docs, but didn't find the right combination.

is there anybody who could help us out of this????

Thanks for any idea/advise.

Thorsten
Reply With Quote
  #2 (permalink)  
Old 03-29-08, 07:18
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
"Hints no 10/"sample text"
the first and last occurence is no problem but the quotation marks in the middle cause the problem
if needed they have to be doubled "" if just as separator : they are of no use
one field can only be delimited by start and end quotation mark
data needs to be cleaned before load..
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 03-30-08, 05:10
tmoeller tmoeller is offline
Registered User
 
Join Date: Apr 2003
Posts: 30
Hi Guy,

yes, thats what we found out too. But, i was hoping for an idea, which allows to load the data with the containing quotation marks. We have to move about 1 TB of data and the time schedule for this doesn't have enough buffer for an additional parsing.

So, still hopig for an idea or solution how to do that.

Cheers

Thorsten
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