Skip to main content
Solved

Delete csv file in database server using custom event

  • June 11, 2021
  • 1 reply
  • 172 views

Malan Jayanka
Sidekick (Employee)
Forum|alt.badge.img+9

Hi,

Can we possible to delete a csv file which is located in database server using a custom event?
File is located in this path.
 


That csv file is created due to migration job failure. But customer needs to delete that file from db server before the next file will be come to db server.

Thank you,
Malan Jayanka

Best answer by Malan Jayanka

Hi,

Solution is found

UTL_FILE.fremove (<directory_name>, <file_name>);

Thank you,
Malan Jayanka

This topic has been closed for replies.

1 reply

Malan Jayanka
Sidekick (Employee)
Forum|alt.badge.img+9
  • Author
  • Sidekick (Employee)
  • Answer
  • June 14, 2021

Hi,

Solution is found

UTL_FILE.fremove (<directory_name>, <file_name>);

Thank you,
Malan Jayanka