title: ORA-06550 PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:* & = - + ; < / >
body: <p>What am I missing here?  It's tagging line 5 column 19....that semi-colon has to stay.  </p>
  
  <pre><code>CREATE OR REPLACE TRIGGER Patient_Audit_Trigger
    BEFORE DELETE OR UPDATE ON Patient
    FOR EACH ROW
  DECLARE
         Operation VARCHAR(6);
  BEGIN
  
      IF DELETING THEN 
        Operation := 'D';
      END IF;
  
      IF UPDATING THEN 
        Operation := 'U';
      END IF;
  
      INSERT INTO Patient_Audit (patNo, patName, patAddr, patDOB, changeTime, changeBy, ActionType)
      VALUES (:old.patNo, :old.patName, :old.patAddr, :old.patDOB, CURRENT_TIMESTAMP WITH TIME ZONE, USER, Operation);
  END;
  /
  </code></pre>