修改資料庫表名:rename [old-table] to [new-table];
while循環添加測試資料:
declare
i int:=1;
begin
while i<=255 loop
insert into DATAACQUISITIONITEMS_NEW (zhuan_id,Dtid,Dtdy) values(10001001,i,i);
i:=i+1;
end loop;
end;
修改資料庫表名:rename [old-table] to [new-table];
while循環添加測試資料:
declare
i int:=1;
begin
while i<=255 loop
insert into DATAACQUISITIONITEMS_NEW (zhuan_id,Dtid,Dtdy) values(10001001,i,i);
i:=i+1;
end loop;
end;