title: ORA-06502 PL/SQL: numeric or value error
body: <p>I am executing sql script which performs basic DML operations.</p>
  
  <p>But strange thing is I am getting ORA-06502: PL/SQL: numeric or value error while executing it for ONLY 1st time.
  <strong>But surprisingly error doesn't came up when executed for 2nd time.</strong></p>
  
  <p>Please find error below :</p>
  
  <pre><code>07:59:57 SQL&gt; @TEST.sql
  -6502ORA-06502: PL/SQL: numeric or value errorORA-06512: at "SYS.OWA_UTIL", line354
  ORA-06512: at "SYS.OWA_UTIL", line 373
  ORA-06512: at "User.TableName", line 7
  ORA-06512: at line 594
  PL/SQL procedure successfully completed.
  Elapsed: 00:00:02.97
  08:00:04 SQL&gt; @TEST.sql
  PL/SQL procedure successfully completed.
  Elapsed: 00:00:00.05
  08:00:07 SQL&gt; exit
  </code></pre>
  
  <p>So when I do sqlplus , error appears for 1st time execution then if I execute 2nd , 3rd time I didn't get any error.</p>
  
  <p>I am doubtful about sqlplus environment setting ? Each time I do sqlplus only for 1st execution I am facing this error.</p>
  
  <p>Have anyone faced same issue OR this is any kind of bug with oracle?</p>