Hi,
Using DB2 Command Centre (UDB 7.1) and need to get rid of carriage returns in my results. Carriage returns are held in 'long' fields - causing a problem with wrapping of text in the results.
I have tried replace and translate options but this is not stopping the wrapping - might be my SQL or identification of the right character to be looking for:
select course, replace(descr, X'13','') from course_tbl
where course = 'zzz'
Course Descr
ZZZ Certificate 1 Transport Course
and text continues merrily along on the enxt line
Translate appears to perform largely the same way for me - have also tried replazing x'10' and x'0D'...
Any ideas..
Thanks in advance
Using DB2 Command Centre (UDB 7.1) and need to get rid of carriage returns in my results. Carriage returns are held in 'long' fields - causing a problem with wrapping of text in the results.
I have tried replace and translate options but this is not stopping the wrapping - might be my SQL or identification of the right character to be looking for:
select course, replace(descr, X'13','') from course_tbl
where course = 'zzz'
Course Descr
ZZZ Certificate 1 Transport Course
and text continues merrily along on the enxt line
Translate appears to perform largely the same way for me - have also tried replazing x'10' and x'0D'...
Any ideas..
Thanks in advance