aspose file tools*
The moose likes Oracle/OAS and the fly likes removing first blank line in csv file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "removing first blank line in csv file" Watch "removing first blank line in csv file" New topic
Author

removing first blank line in csv file

nandini lagunia
Ranch Hand

Joined: May 05, 2009
Posts: 57
Hi,
I have written a sql script which takes the rows from a table and writes it to
a .csv file.

The script is as follows:-


This works fine but output.csv contains a blank line at the top.
How can I get rid of that blank line?

Thanks in advance
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

You could use SET NEWPAGE NONE;


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: removing first blank line in csv file