title: When executing a script on SQLPlus, it prints a sequence of numbers instead of output
body: <p>I'm trying to execute a script on SQL PLus, it's simple.</p>
  
  <pre><code>SET serveroutput ON;
  DECLARE
      mode NUMBER(1) := 1;
  
  IF (mode = 1) THEN
  
      prompt 'HERE'
  
  END IF;
  
  prompt 'fim'
  </code></pre>
  
  <p>I call the script from SQLPlus using <code>sqlplus user/pw@db</code> and <code>@myscript.sql</code> after a successful connection. But the output is strange for me:</p>
  
  <pre><code>Conectado a:
  Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
  With the Partitioning, OLAP and Data Mining options
  
  SQL&gt; @myscript.sql
   9
   10
   11
  </code></pre>
  
  <p>And it continues to print this sequence indefinitely.
  What am I doing wrong?</p>