赞
踩
适用场景:批量更新数据前全表备份等
实现代码:
//sqlserver
select into table_name_new from table_name
//oracle
create table table_name_new as select * from table_name;
//tidb(mysql应该也适用)
create table table_name_new like table_name;
insert into table_name_new
select * from table_name;
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。