Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Removing CR/LF characters during extraction

$
0
0
I use the following command to extract records from db to a text file:

db2 -x -tf test.sql -r test.txt > /dev/null 2>&1

Is there any option that could be used in the above statement to remove CR/LF characters ?

Appreciate any advice.

The other alternative I have is to use a replace command in the SQL script.

Viewing all articles
Browse latest Browse all 13329

Trending Articles