DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: spooling question

  1. #1
    Join Date
    Jun 2000
    Location
    dumfries,va,usa
    Posts
    227
    Hi,
    Can you spool data from Oracle running on Unix. if yes, is it simply as issuing the spool command? If no, how do you use the spool command on unix. please be detailed in your response.


    Thanks in advance
    Leonard905
    leonard905
    leonard905@yahoo.com

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Inside your .sql script, just issue spool with the filename and then spool off when you are done. For example:
    Code:
    spool xyz.txt
    select * from xyz
    /
    spool off
    Jeff Hunter

  3. #3
    Join Date
    Jun 2000
    Location
    dumfries,va,usa
    Posts
    227
    so just like oracle on NT. Spool filename and then spool off.

    Thanks.
    leonard905
    leonard905@yahoo.com

  4. #4
    Join Date
    Jan 2001
    Posts
    642
    sql plus command are the same, which ever platform your database resides on.

    It works fine with both windows and unix

    Badrinath.

  5. #5
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Originally posted by leonard905
    so just like oracle on NT. Spool filename and then spool off.

    Thanks.
    Yup, that's it!
    Jeff Hunter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width