- Jul 17, 2001
- 2,344
- 8
- 81
DECLARE
x NUMBER(2);
BEGIN
x:=22;
FOR v IN 1..5 LOOP
IF v NOT IN (8,9) THEN
INSERT INTO lucru VALUES(v);
END IF;
END LOOP;
END;
/
Could somebody enlighten me how this sequence writes 2 in the table?
It`s from a multiple choice test it only says that the name of the table is lucru.
x NUMBER(2);
BEGIN
x:=22;
FOR v IN 1..5 LOOP
IF v NOT IN (8,9) THEN
INSERT INTO lucru VALUES(v);
END IF;
END LOOP;
END;
/
Could somebody enlighten me how this sequence writes 2 in the table?
It`s from a multiple choice test it only says that the name of the table is lucru.