If you wish to use SQL*Plus Command-line , you'll simply issue the sqlplus command from your shell:
- $ sqlplus.
- $ sqlplusschema@//machine.domain:port/database.
- set colsep , set headsep off set pagesize 0 set trimspool on.
- set linesize # set numwidth #
- spool file_path.
- spool off.
- SELECT title, primary_author FROM books;