Created
August 7, 2012 15:28
-
-
Save xymor/3286394 to your computer and use it in GitHub Desktop.
advance a sequence without ddl permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- pardon my noob plsql skills | |
declare | |
val number; | |
begin | |
for i in 1..100 loop | |
select B2B_B2W_ADMIN.STOCKDETAIL_SEQ.nextval into val from dual; | |
end loop; | |
end; | |
-- remember to commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment