Deleting OS files using UTL_FILE package
636674Aug 8 2008 — edited Aug 11 2008Hi,
I have an oracle directory object defined on an operating system folder. This directory gets an archive file(.arc generated by bespoke application) every 10 seconds with a time-stamp in the file name by an oracle job. I want to regularly delete old archive files from this directory. I have tried this using UTL_FILE package, but it deletes one file at time. I am wondering is there any other way to delete files in bulk?
Any suggestions would be highly appreciated.
Regards,
Aniket Shetye