I am running a query that spools to a txt file in this manner.
I have hard time removing the spaces after 0 since the file is big. See, there are spaces before second line that are impossible to remove using wordpad.
The last ine breaks into a second line. I even tried to substring some of the columns in order to reduce extra spaces. Toad displays the output normally. But sqlplus is breaking it with extra spaces.
Can someone help?
Code:
100 320050406 20050325 119090 1 0
345
101 320057806 20050326 112020 1 0
440
whereas it should actually display like
100 320050406 20050325 119090 1 0 345
101 320057806 20050326 112020 1 0 440
I have hard time removing the spaces after 0 since the file is big. See, there are spaces before second line that are impossible to remove using wordpad.
The last ine breaks into a second line. I even tried to substring some of the columns in order to reduce extra spaces. Toad displays the output normally. But sqlplus is breaking it with extra spaces.
Can someone help?