[Mssql] 다른 테이블 JOIN 해서 UPDATE 하기



UPDATE TABLE1
SET RESULT = B.RESULT
FROM TABLE1 A JOIN TABLE2 B ON A.CODE = B.CODE
WHERE ...



<참고>
http://jhbench.tistory.com/236

댓글

이 블로그의 인기 게시물

[Eclipse] publishes and runs j2ee and java ee web projects and server configurations to a local tomcat server