写法:

UPDATE Document,
ObservationRequest
SET Document.CreateOrganizationName = ObservationRequest.OrganizationName
WHERE
Document.BusinessID = ObservationRequest.ObservationUID;

验证:

SELECT
o.ServiceSectID,
d.Modality
FROM
ObservationRequest o
INNER JOIN Document d ON o.ObservationUID = d.BusinessID
WHERE o.ObservationUID <> d.BusinessID;

05-11 15:12