SQL*Plus tips

–Generate csv spool file
set colsep ‘,’
spool /myfile
select * from mystuff;
spool off