title: Oracle 10g - ORA-01747 Error
body: <p>My procedure:</p>
  
  <pre><code>CREATE OR REPLACE PROCEDURE akcia_nepozicane_s_kurzorom
      (denny_poplatok IN NUMBER,
       kilometrovy_poplatok IN NUMBER)
  AS
      my_id_auto NUMBER(5);
      my_poplatok_denny NUMBER(4);
      my_poplatok_km NUMBER(2);
      CURSOR c1 IS
          SELECT id_auto, poplatok_denny, poplatok_km FROM Auta;
  BEGIN
      OPEN c1;
      LOOP
          FETCH c1 INTO my_id_auto, my_poplatok_denny, my_poplatok_km;
          EXIT WHEN c1%NOTFOUND;
          IF my_poplatok_km &gt;= 10 THEN
              UPDATE Auta SET
                  poplatok_denny = denny_poplatok,
                  poplatok_km = kilometrovy_poplatok
              WHERE id_auto = my_id_auto;
          ELSE
              UPDATE Auta SET
                  poplatok_denny = denny_poplatok,
              WHERE id_auto = my_id_auto;        
          END IF;
          COMMIT;
      END LOOP;
      CLOSE c1;
  END;
  </code></pre>
  
  <p>When I try run that code in Oracle 10g Express Edition, I get this error though:</p>
  
  <pre><code>ERROR at line 23: PL/SQL: ORA-01747: invalid user.table.column, table.column, or column specification
  
  1. CREATE OR REPLACE PROCEDURE akcia_nepozicane_s_kurzorom
  2.     (denny_poplatok IN NUMBER,
  3.      kilometrovy_poplatok IN NUMBER)
  4. AS
  </code></pre>
  
  <p>I don't see any reserved words in my code so why am I getting this error?</p>