DELETE FROM DC2_KYS.OR_100 WHERE PV_USER = '368';
commit;
INSERT INTO DC2_KYS.OR_100 (PV_KEY,PV_USER,PV1)
SELECT LPAD(TO_CHAR(ROWNUM),20,0),TABLE_SELECT.* FROM (
SELECT '368',COUNT(*)
FROM
ASPK_KYS.ASK0001000M_KAMOK T001
) TABLE_SELECT
;
commit;
EXIT;


