PLS-00103: Encountered the symbol " " when expecting one of the following
<p>For some reason this wont work.  I have got it down to the most basic operation to try and troubleshoot.</p>

<pre><code>BEGIN
  FOR rec IN (
      select REGISTRATION_UID from DIM_REGISTRATION_SET
    ) 
    LOOP
      dbms_output.put_line('Testing 123');
    END LOOP; 
end;
/
</code></pre>

<p>My error is as below:</p>

<pre><code>Error starting at line 1 in command:
BEGIN
  FOR rec IN (
      select REGISTRATION_UID from DIM_REGISTRATION_SET
    ) 
    LOOP
      dbms_output.put_line('Testing 123');
    END LOOP; 
end;
Error report:
ORA-06550: line 4, column 6:
PLS-00103: Encountered the symbol " " when expecting one of the following:

   loop
06550. 00000 -  "line %s, column %s:\n%s"
*Cause:    Usually a PL/SQL compilation error.
*Action:
</code></pre>