oracle增加字段,循环

alter table PARAMETETER_CONFIGURATION add (INPUT_IS VARCHAR2(20) );

 

 

declare
sum_i int:=0; --定义整型变量,存储整数和
begin
for i in reverse 6..500000 --遍历前100个自然数
loop
INSERT into EMP (NAME,ID,AGE) VALUES (i,i,i*100);
end loop;
end;

posted @ 2019-11-22 22:22  w'c's  阅读(326)  评论(0编辑  收藏  举报