title: How to write this anonymous block?
body: <p>I am trying to use an anonymous block for a double update, but it does not work for me.
  What am I doing wrong?</p>
  <pre><code>DECLARE  
     v_voucher NUMBER(10) := 4329;
  BEGIN
  
     UPDATE PRODUCTION 
     SET 
       UND_PROD = 0,
       UND_DET = 0
     WHERE 
       VOUCHER = v_voucher;
   
     UPDATE DET_PRODUCTION 
     SET 
       UND_GOOD = 0,
       UND_BAD = 0
     WHERE 
       VOUCHER = v_voucher;
   
  END;
  </code></pre>
  <blockquote>
  <p>ORA-06550: line 9, column 1:
  PLS-00103: Encountered the symbol &quot; &quot; when expecting one of the following:</p>
  <p>( begin case declare end exception exit for goto if loop mod
  null pragma raise return select update while with
  [an identifier] [a double-quoted delimited-identifier]
  [a bind variable] continue close current delete fetch lock
  insert open rollback savepoint set sql execute commit forall
  merge pipe purge</p>
  </blockquote>