Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using Oracle SQL Developer, I do:

spool c:\temp\file1.csv
select /*csv*/ id, version, key, pattern, name from mydatabase.edition;

spool c:\temp\file2.csv
select /* csv */ id, version, amount, item FROM mydatabase.mtci;

In the first statment the export is like this

"string1", 98, "key1", "pattern", "name"

In the next statement it is like thhis

string2,       104,         988.99,         yuikk

i.e. it has no quotes and has tabs after the commas.

Anyone know why this is the case?

Note: I am using Oracle 11.

share|improve this question
+1 for the neat SQLdeveloper functionality – kubanczyk Jan 24 '14 at 17:33

The problem was in on case I was doing

/*csv*/ -- this works

/* csv */ -- this does not work.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.