1 Answer
- Newest
- Most votes
- Most comments
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.
answered a year ago
Relevant content
- asked 9 months ago
- asked 5 years ago
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 months ago
Its working , Thank you