Unable to remove dos new line characters using convert
Posted: Fri Oct 01, 2010 9:57 am
As suggested by most of the people in the forum I used convert(char(13),' ',ipcol) to remove new line characters in a field while writing to a output sequential file.I was able to remove some of them but still there are few records where the field value is breaking the record line into two or three lines.I tried column terminators to yes,tr command and convert function but nothing is helping.Could anyone please suggest me on it as I am not sure if there are any other characters in the column value which is causing it to break.The source is lotus notes database table extracted from ODBC stage.I also used the combination of convert and column terminator.