Advertisement
mali_cox

skripta2_Cox

Jan 23rd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.19 KB | None | 0 0
  1. DECLARE
  2.    x NUMBER := 1;
  3. BEGIN
  4.    FOR i IN 1..100 LOOP    
  5.          INSERT INTO Korisnici(id_korisnika, idLokacije) VALUES (i, x);  
  6.          x := x + 1;
  7.    END LOOP;
  8.    COMMIT;
  9. END;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement