1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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.
respondido há um ano
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 3 meses
- AWS OFICIALAtualizada há 3 anos
Its working , Thank you