본문 바로가기
프로그래밍/Oracle

SELECT INSERT 예제

by Daily Investing 2012. 9. 25.
반응형

INSERT INTO TABLE_NAME SELECT * FROM TMP_TABLE

ex) INSERT INTO APPROVALCODE SELECT 'TEST', APPROVAL_CODE, APPROVAL_TYPE, APPROVAL_FLAG, APPROVAL_DESC FROM APPROVALCODE WHERE APPROVAL_TYPE = 'A';

반응형