01、把年度數據采集表_bak01的數據插入到年度數據采集表:
insert into 年度數據采集表 select * from 年度數據采集表_bak01
02、把年度數據采集表的數據插入到年度數據采集表_bak01---如果沒有該表會自動創(chuàng)建,如果有了,就提示該表已經存在用上面的01插入法:
Select * Into [年度數據采集表_bak01] FROM [年度數據采集表] where 年=2020 and 月=09
01、把年度數據采集表_bak01的數據插入到年度數據采集表:
insert into 年度數據采集表 select * from 年度數據采集表_bak01
02、把年度數據采集表的數據插入到年度數據采集表_bak01---如果沒有該表會自動創(chuàng)建,如果有了,就提示該表已經存在用上面的01插入法:
Select * Into [年度數據采集表_bak01] FROM [年度數據采集表] where 年=2020 and 月=09