상세 컨텐츠

본문 제목

SELECT 로 UPDATE 하기

DataBase/Oracle

by 탑~! 2013. 5. 23. 03:02

본문

 UPDATE SEPROJECT_MASTER M SET
            M.PROJECT_TYPE   
             ,...)
            =(SELECT
                 TMP.PROJECT_TYPE   
                ,...
               FROM SEPROJECT_TMP TMP
               WHERE TMP.UPLOAD_KEY = #upload_key#
               AND TMP.PROJECT_NAME = #q_prjNm#
            )
        WHERE M.PROJECT_NAME = #q_prjNm#

 

관련글 더보기