CREATE OR REPLACE PROCEDURE <proc_name> IS
i NUMBER := 1;
BEGIN
WHILE ( i <= 5000)
LOOP
INSERT INTO t00 values(i);
INSERT INTO t50 values(i);
i := i + 1;
END LOOP;
COMMIT;
END;
/
executing the procedure from sqlplus---
SQL> exec <proc_name>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.