Just trying to insert values into table using loop.
The code for loop is next
DECLARE
ID_src number;
BEGIN
FOR i IN 1..10000
LOOP
ID_src := i;
INSERT INTO src_facts values (ID_src);
END LOOP;
END;
From my view output should be:
1
2
3
...
10000
But I reviewed unpredictable result. It is:
Can you explain what am I doing wrong?