备份数据库:industfo2020
目标数据库:indusfo
恢复2022年1月1日前的数据。
恢复设备点检表:
insert into indusfo.dbo.dc_checkstplan select * from indusfo2020.dbo.dc_checkstplan where mkerdate <'2022-1-1'
恢复点检表明细;
insert into indusfo.dbo.dc_checkstplanlist select * from indusfo2020.dbo.dc_checkstplanlist where checkplanno<'AAS202204190001'
搜索
复制
标签:dbo,恢复,into,dc,checkstplanlist,SQL,indusfo,数据 From: https://www.cnblogs.com/insoon/p/17059553.html