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 > DB2 Export - row terminator?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-09, 13:02
kellypw kellypw is offline
Registered User
 
Join Date: Aug 2008
Posts: 3
DB2 Export - row terminator?

I'm exporting data from a version 9 database, to import into another system (Oracle via sql loader) . Some of our varchar fields have hard returns making import fail. Is there a row terminator I can specify in the DB2 export? I'm currently using MODIFIED BY chardel'' coldel0x07 for delims -

Thanks-
Reply With Quote
  #2 (permalink)  
Old 02-13-09, 13:54
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by kellypw
Is there a row terminator I can specify in the DB2 export?
No, but you can specify one for SQL*Loader - all you need to do is find a character that does not occur in your data and export it as the last column.

Fixed length records will be an even better alternative.
Reply With Quote
  #3 (permalink)  
Old 02-13-09, 14:03
kellypw kellypw is offline
Registered User
 
Join Date: Aug 2008
Posts: 3
I must be missing something - hat's the SQLLoader row terminator? I did not see that in the Oracle documentation: SQL*Loader Control File Reference
Reply With Quote
  #4 (permalink)  
Old 02-13-09, 14:30
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Reply With Quote
  #5 (permalink)  
Old 02-13-09, 14:44
kellypw kellypw is offline
Registered User
 
Join Date: Aug 2008
Posts: 3
doh! if it was a snake.... thanks!
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