title: SQL command not properly ended execute immediate
body: <p>I'm trying to execute this code, but all the time i got an error message   "SQL command not properly ended on line 14"
  line 14 is "execute immediate stmt;"</p>
  
  <p>Can you help me?
  Thaks.</p>
  
  <pre><code>declare 
      f varchar2(4);
      stmt varchar2(200);
      i number;
      e float;
      b float;
      d float;
      begin
      f:='f132';
      execute immediate 'select max('||f||') from testv2_2;' into e;
      execute immediate 'select min('||f||') from testv2_2;' into b;
      d:=(e-b)/20;
      stmt:='update testv2_2 set '||f||' =round('||f||'/'||d||');';
      execute immediate stmt;
      end;
  </code></pre>