1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
2
Delete files in DATA_PUMP_DIR that you no longer require, use the following command.
EXEC UTL_FILE.FREMOVE('DATA_PUMP_DIR','filename');
To delete all files in DATA_PUMP_DIR, you could you something below..
begin for i in (select filename from table(RDSADMIN.RDS_FILE_UTIL.LISTDIR('MY_DIR')) where type='file') loop UTL_FILE.FREMOVE ('DATA_PUMP_DIR', i.filename); end loop; end; /
Please test the script/procedure in non-production before moving on to production and acknowledge the answer.
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 3년 전
- AWS 공식업데이트됨 3년 전
- AWS 공식업데이트됨 3년 전
Its working , Thank you