--SQL Server:
update HR_PM_OHRM set Ref2=HR_PM_HRM1.CntctName,Ref3 = HR_PM_HRM1.CntctTel,Ref4 = HR_PM_HRM1.CntctType
from HR_PM_HRM1 inner join HR_PM_OHRM on HR_PM_OHRM.EmpCode=HR_PM_HRM1.EmpCode
(SqlServer) 更新查询
于 2020-11-26 15:10:56 首次发布
--SQL Server:
update HR_PM_OHRM set Ref2=HR_PM_HRM1.CntctName,Ref3 = HR_PM_HRM1.CntctTel,Ref4 = HR_PM_HRM1.CntctType
from HR_PM_HRM1 inner join HR_PM_OHRM on HR_PM_OHRM.EmpCode=HR_PM_HRM1.EmpCode