DELETE FROM SEI_MYDC2.OR_100 WHERE PV_USER = '741';
commit;
INSERT INTO SEI_MYDC2.OR_100 (PV_KEY,PV_USER,PV1)
SELECT LPAD(TO_CHAR(ROWNUM),20,0),TABLE_SELECT.* FROM (
SELECT '741',COUNT(*)
FROM
 SEI_MIYO.DB0355 T001
) TABLE_SELECT
;
commit;
EXIT;


