--如果随便的数据可以直接这样插入 --如果你想要插入接近实际的数据,可以取sh.customers表中的信息插入到你的人员的档案信息表中,里面有55500条记录,应该可以满足你的需要了 create table student( stuno varchar2(20), name varchar2(20) ); declare rows int :=0; cou int :=10000; begin loop insert into student values('stuno'||rows, 'name'||rows); exit when rows>=cou; rows := rows+1; end loop; end; /
--如果随便的数据可以直接这样插入
--如果你想要插入接近实际的数据,可以取sh.customers表中的信息插入到你的人员的档案信息表中,里面有55500条记录,应该可以满足你的需要了
create table student(
stuno varchar2(20),
name varchar2(20)
);
declare
rows int :=0;
cou int :=10000;
begin
loop
insert into student values('stuno'||rows, 'name'||rows);
exit when rows>=cou;
rows := rows+1;
end loop;
end;
/