insert into SGGLDB.dbo.Manager_CompletionReport select * from HSSEDB.dbo.Manager_CompletionReport where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.Project_HSEDiary select * from HSSEDB.dbo.Project_HSEDiary where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.SeDin_MonthReport select * from HSSEDB.dbo.SeDin_MonthReport where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.SeDin_MonthReport1 select * from HSSEDB.dbo.SeDin_MonthReport1 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport2 select * from HSSEDB.dbo.SeDin_MonthReport2 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport3 select * from HSSEDB.dbo.SeDin_MonthReport3 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport4 select * from HSSEDB.dbo.SeDin_MonthReport4 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport5 select * from HSSEDB.dbo.SeDin_MonthReport5 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport6 select * from HSSEDB.dbo.SeDin_MonthReport6 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport7 select * from HSSEDB.dbo.SeDin_MonthReport7 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport8 select * from HSSEDB.dbo.SeDin_MonthReport8 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport8Item select * from HSSEDB.dbo.SeDin_MonthReport8Item where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport9 select * from HSSEDB.dbo.SeDin_MonthReport9 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport9Item_Rectification select * from HSSEDB.dbo.SeDin_MonthReport9Item_Rectification where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport9Item_Special select * from HSSEDB.dbo.SeDin_MonthReport9Item_Special where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport9Item_Stoppage select * from HSSEDB.dbo.SeDin_MonthReport9Item_Stoppage where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport10 select * from HSSEDB.dbo.SeDin_MonthReport10 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport11 select * from HSSEDB.dbo.SeDin_MonthReport11 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.SeDin_MonthReport12 select * from HSSEDB.dbo.SeDin_MonthReport12 where MonthReportId in (select MonthReportId from SGGLDB.dbo.SeDin_MonthReport) go insert into SGGLDB.dbo.InformationProject_Notice select * from HSSEDB.dbo.InformationProject_Notice where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) OR ProjectId IS NULL go insert into SGGLDB.dbo.InformationProject_Picture select * from HSSEDB.dbo.InformationProject_Picture where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.InformationProject_ProjectMap select * from HSSEDB.dbo.InformationProject_ProjectMap where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.InformationProject_ReceiveFileManager select * from HSSEDB.dbo.InformationProject_ReceiveFileManager where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.Wx_PageData select * from HSSEDB.dbo.Wx_PageData where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.InformationProject_MillionsMonthlyReport select * from HSSEDB.dbo.InformationProject_MillionsMonthlyReport where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.InformationProject_AccidentCauseReport select * from HSSEDB.dbo.InformationProject_AccidentCauseReport where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.InformationProject_AccidentCauseReportItem select * from HSSEDB.dbo.InformationProject_AccidentCauseReportItem where AccidentCauseReportId in (select AccidentCauseReportId from SGGLDB.dbo.InformationProject_AccidentCauseReport) go insert into SGGLDB.dbo.InformationProject_SafetyQuarterlyReport select * from HSSEDB.dbo.InformationProject_SafetyQuarterlyReport where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.InformationProject_DrillConductedQuarterlyReport select * from HSSEDB.dbo.InformationProject_DrillConductedQuarterlyReport where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.InformationProject_DrillConductedQuarterlyReportItem select * from HSSEDB.dbo.InformationProject_DrillConductedQuarterlyReportItem where DrillConductedQuarterlyReportId in (select DrillConductedQuarterlyReportId from SGGLDB.dbo.InformationProject_DrillConductedQuarterlyReport) go insert into SGGLDB.dbo.InformationProject_DrillPlanHalfYearReport select * from HSSEDB.dbo.InformationProject_DrillPlanHalfYearReport where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.InformationProject_DrillPlanHalfYearReportItem select * from HSSEDB.dbo.InformationProject_DrillPlanHalfYearReportItem where DrillPlanHalfYearReportId in (select DrillPlanHalfYearReportId from SGGLDB.dbo.InformationProject_DrillPlanHalfYearReport) go insert into SGGLDB.dbo.ProjectSupervision_ProjectEvaluation select * from HSSEDB.dbo.ProjectSupervision_ProjectEvaluation where ProjectId in (select ProjectId from SGGLDB.dbo.Base_Project) go insert into SGGLDB.dbo.HSSESystem_SafetyInstitution select * from HSSEDB.dbo.HSSESystem_SafetyInstitution go