Using spool on Oracle sqlplus correctly sends the results of my queries to a file.

But I also see output on the screen.

Is it possible to see only the query without output on screen, and result on file? (This feature is the default on PostgreSQL psql client program).


1 Answer 1


You can use SQL> SET TERMOUT OFF command to get the result.

Here are some useful links collected from comments:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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