Get your CodeRanch badge!*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 14687
    
  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
 
Similar Threads
Use PL/SQL Loop and variable
PL / SQL to create synonyms for all tables
oracle 9i
ORA-22950: cannot ORDER objects without MAP or ORDER method
Running a .bat/ .cmd file from Java