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 > How to store CR in a char field ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-18-06, 08:40
cni03 cni03 is offline
Registered User
 
Join Date: May 2005
Posts: 5
Question How to store CR in a char field ?

Hi, folks,

it sounds quite simple but produces many efforts to avoid bad impacts : how will a carriage return character be stored in a character field without loosing ability to unload and load the table ?

Does Informix come with any tools for it ?

At the moment I have to mask and unmask before unload or after load which has to be done for some reasons from time to time ! Will there be any convention which masking character has to be used ?

With regards,

Christof.
Reply With Quote
  #2 (permalink)  
Old 07-20-06, 04:24
nitin_math nitin_math is offline
Registered User
 
Join Date: Nov 2004
Posts: 143
Hi,

If you use the function "delimiter", then I guess, you dont have to worry about carriage return character in the data:

eg

unload to xyz.dat delimiter "|"
select * from tab_nm

Bye

Nitin
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