title: Get execution time of sql script in oracle sqlplus
body: <p>I have a script that i use to load my data into my tables in Oracle (by a list of insert statements). How can i get the execution time of the entire loading process? I have tried with <code>set timing on</code>, but that gives me a duration for each insert statement and not the entire process. The script is shown below:</p>
  
  <pre><code>spo load.log
  prompt '**** load data ****'
  set termout off
  @@inserts.sql
  commit;
  set termout on
  prompt '**** done ****'
  spo off
  exit;
  </code></pre>