Skip to main content
Solved

Delete csv file in database server using custom event

  • June 11, 2021
  • 1 reply
  • 168 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

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

1 reply

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

Hi,

Solution is found

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

Thank you,
Malan Jayanka


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings