I saw the same titled post but the answer given there is abt how to import data from an input file.
I know this can be done once u can get data from database in ur application using java,.net or any other language but I want to accomplish this inside the query itself.
I've found the code for the same but this query is written for mysql, I am looking for somthing on the same line in oracle.
This is the link for solution to my question, in mysql query using java language.
http://www.java-tips.org/other-api-t...-csv-file.html
the query used here in mysql is:
Expand|Select|Wrap|Line Numbers
- "SELECT id,text,price into OUTFILE '"+filename+ "' FIELDS TERMINATED BY ',' FROM testtable t"
Nick.