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.
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.