DELETE FROM KORYO_DC2.OR_100 WHERE PV_USER = '609';
commit;
INSERT INTO KORYO_DC2.OR_100 (PV_KEY,PV_USER,PV1)
SELECT LPAD(TO_CHAR(ROWNUM),20,0),TABLE_SELECT.* FROM (
SELECT '609',COUNT(*)
FROM
 KORYO_TERM_001.FL0859 T001
) TABLE_SELECT
;
commit;
EXIT;


