title: Dynamic 'alter session' failing in a PL/SQL block
body: <p>I am trying to alter the session in a PL/SQL block via dynamic SQL, but it is failing. I am using the following script:</p>
  
  <pre><code>BEGIN
  EXECUTE IMMEDIATE 'ALTER SESSION SET ISOLATION_LEVEL=READ COMMITED;';
  UPDATE Test."column" SET "columnName" = 5 WHERE "columnType" = 606;
  end
  </code></pre>
  
  <p>The error I am getting is:</p>
  
  <pre><code>ORA-00922: missing or invalid option
  ORA-06512: at line 2
  </code></pre>
  
  <p>I am not sure what I am doing wrong, does Oracle prevent altering of sessions after using the begin statement?</p>