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

Thread: sqlplus and spooling

  1. #1
    Join Date
    Feb 2001
    Location
    Master Control
    Posts
    86
    anybody know how to NOT show the SQL> prompt and statement when spooling to a file?

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    set sqlprompt=""
    Jeff Hunter

  3. #3
    Join Date
    Aug 2000
    Posts
    462
    Put it all into a .sql file and run it from sql*plus:

    set heading off feedback off pagesize 0 echo off
    spool c:\temp\test.txt
    select * from test
    /
    spool off

    In this case, the contents of test.txt were:

    2
    2
    3


    Oracle DBA and Developer

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