标签:join modal uid oda sql inner sele 验证 date
写法:
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;
标签:join modal uid oda sql inner sele 验证 date
原文地址:http://www.cnblogs.com/llcdbk/p/7800093.html