Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2002
    Posts
    165

    Unanswered: Me again;redirect into file-ignorant asking

    How can I redirect results from sqlplusw into file;
    for examle
    select table_name from all_tables;

    For example DB2 has Command Window where i can write
    >filename.

  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    Provided Answers: 1

    Re: Me again;redirect into file-ignorant asking

    SPOOL filename
    select table_name from all_tables;
    SPOOL OFF

    There are various settings you would need to play with if you want the file to be "clean", e.g.
    SET ECHO OFF
    SET FEEDBACK OFF

  3. #3
    Join Date
    Jan 2002
    Posts
    165
    It's working now!!!!!
    Thanks,Zvonimir

Posting Permissions

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