DELETE FROM DC_IONIC.OR_100 WHERE PV_USER = '521';
commit;
INSERT INTO DC_IONIC.OR_100 (PV_KEY,PV_USER,PV1)
SELECT LPAD(TO_CHAR(ROWNUM),20,0),TABLE_SELECT.* FROM (
SELECT '521',COUNT(*)
FROM
IONIC.MM_MEI T001
) TABLE_SELECT
;
commit;
EXIT;


