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.
已回答 1 年前
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 年前
Its working , Thank you