Non-printable sign



Hello,

I have problem with replacing non-printable 'new line' sign (^J) to
null. Actually, I don't know if Informix provides function like
Oracle's ord() or ascii() which would be helpful.
My task is to unload rows from sql query into file with default
delimiter '|'. It is very important that each record is written in one
separate line. However, it happens that one field can contain the 'new
line' sign. In this case my row is split into two lines which is not
allowed. The interested field is varchar type.

Does anybody solved this kind of problem and how?

Best regards
Michal Demyda
.



Relevant Pages

  • Re: Non-printable sign
    ... I don't know if Informix provides function like ... Oracle's ord() or ascii() which would be helpful. ... My task is to unload rows from sql query into file with default ...
    (comp.databases.informix)
  • Re: Non-printable sign
    ... I don't know if Informix provides function like ... Oracle's ord() or ascii() which would be helpful. ... My task is to unload rows from sql query into file with default ...
    (comp.databases.informix)
  • Re: Non-printable sign
    ... Oracle's ord() or ascii() which would be helpful. ... My task is to unload rows from sql query into file with default ... the REPLACE function search string. ...
    (comp.databases.informix)
  • Re: Non-printable sign
    ... EXECUTE PROCEDURE IFX_ALLOW_NEWLINE; ... Doug Lawry ... I don't know if Informix provides function like ... My task is to unload rows from sql query into file with default ...
    (comp.databases.informix)