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 > problem with LOAD

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-15-11, 13:07
divak divak is offline
Registered User
 
Join Date: May 2008
Posts: 24
Smile problem with LOAD

HI ,

Im using LOAD FROM command to load a unl(pipe delimited) file to table.

The operation fails bcoz of a backslash symbol (\) in a data field. It works fine when i remove the backslash and load the data.

So, how can i make it work with the backslash, as i have to load the original data without making any changes manually.

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-15-11, 13:13
InformixWilli InformixWilli is offline
Registered User
 
Join Date: Sep 2010
Location: Germany, Brunswick
Posts: 52
Try two backslashes instead of one.
__________________
WilhelmW
IBM Certified Database Associate

wilhelmw.de - www.isr.de
Reply With Quote
  #3 (permalink)  
Old 03-15-11, 13:18
divak divak is offline
Registered User
 
Join Date: May 2008
Posts: 24
Quote:
Originally Posted by InformixWilli View Post
Try two backslashes instead of one.
That works fine, but is it possible to inactivate these kind of symbols during the load process? Bcoz, my primary aim is not to manipulate the unl file.

Thanks
Reply With Quote
  #4 (permalink)  
Old 03-15-11, 13:26
InformixWilli InformixWilli is offline
Registered User
 
Join Date: Sep 2010
Location: Germany, Brunswick
Posts: 52
I think thats not possible!

Here you can find more informations about load and backslash: LOAD statement
__________________
WilhelmW
IBM Certified Database Associate

wilhelmw.de - www.isr.de
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