title: Remove leading spaces and the SQL> tags when spooling
body: <p>I m doing an export using SQL*Plus using the following code:</p>
  
  <pre><code>Set echo off
  Set verify off
  Set feedback off
  Set heading off
  Set termout on
  Set pages 50000 
  Set linesize 1000
  Set newpage none
  Set colsep ","
  spool Z:\ff\ss.csv
  Select Client_ID, Cust_ID from cust; 
  spool off;
  exit;
  </code></pre>
  
  <p>I get the correct output, but it doesn't have the best formatting.</p>
  
  <pre><code>SQL&gt; Select Client_ID, Cust_ID from cust; 
         100,200
         200,300
         300,400
         400,500
  SQL&gt;spool off;
  </code></pre>
  
  <ol>
  <li><p>How can I get rid of the spaces before the values?</p>
  
  <p>100,200</p></li>
  <li><p>How can I get rid of the <code>SQL&gt;</code> statements in the output file?</p></li>
  </ol>