备份:
create table productinfo_bak as select * from productinfo;
删除productinfo表内的数据:
delete from productinfo;
修改表结构:
alter table productinfo modify productif number(10,2);
还原表数据:
insert into productinfo select * from productinfo_bak;
参考博客:https://blog.csdn.net/zhou452840622/article/details/51840667