Dlaczego mi wyskakuje błąd?
set serveroutput on
BEGIN
FOR i in 1..10 LOOP
IF i=6 or i=8 THEN null;
ELSE
INSERT INTO messages (results)
VALUES (i);
END IF;
END LOOP;
COMMIT;
END;
błąd
Error starting at line : 2 in command -
BEGIN
FOR i in 1..10 LOOP
IF i=6 or i=8 THEN null;
ELSE
INSERT INTO messages (results)
VALUES (i);
END IF;
END LOOP;
COMMIT;
END;
Error report -
ORA-06550: linia 5, kolumna 17:
PL/SQL: ORA-00942: tabela lub perspektywa nie istnieje
ORA-06550: linia 5, kolumna 5:
PL/SQL: SQL Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action: