begin
for loop_index in 167 .. 241
loop
insert into table1
(POSITION, WORKORDERID)
VALUES (1, loop_index)
/
insert into table1
(POSITION, WORKORDERID)
VALUES (2, loop_index)
/
insert into table1
(POSITION, WORKORDERID)
VALUES (3, loop_index)
/
insert into table1
(POSITION, WORKORDERID)
VALUES (4, loop_index)
/
insert into table1
(POSITION, WORKORDERID)
VALUES (5, loop_index)
/
end loop;
end
|