question

powerdrivehp avatar image
powerdrivehp asked

spool sqlplus results to out

I found and used this query to spool out, but I am getting an error. 2. SET UNDERLINE OFF 3. SET COLSEP ',' 4. SET LINES 100 PAGES 100 5. SET FEEDBACK off 6. Spool C:\Export\EMP.csv 9. SELECT * FROM EMP; 11. Spool OFF error message: illegal spool command usage spool { | OFF | OUT } where file_name.[.ext] [CRE[ATE | REP[LACE | APP[END] Any solutions to the proper usage to write to an output file? Thanks powerdrivehp
error messagequery-outsqlplus
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
sqlaj 1 avatar image
sqlaj 1 answered
It has been a while since I worked with Oracle. Have you seen/looked at this documentation? http://docs.oracle.com/cd/A57673_01/DOC/server/doc/SP33/ch4.htm#toc029
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.