Skip to content

Instantly share code, notes, and snippets.

@gmic
Created January 6, 2016 15:02
Show Gist options
  • Save gmic/cde8c20bc6ad09bc2c1e to your computer and use it in GitHub Desktop.
Save gmic/cde8c20bc6ad09bc2c1e to your computer and use it in GitHub Desktop.
SQL report template
set echo off
set embedded on
set feedback off
set heading off
set linesize 2000
set pages 0
set recsep off
set termout off
set trim on
set trimspool on
set wrap off
set verify off
spool &1.;
select 'MOBIELNUMMER|INLOGTIJD|TOEGANGSTYPE' from dual
-- do some queries
spool off
-- restore settings
set termout
set feedback on
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment