Is it possible to delete a file from the filesystem in a SQL trigger in SQLite?
I have a table which contains the path to a file. Is it possible to create a trigger that starts when a deletion occurs and that deletes the file whose path is the one contained in the deleted row? How can I do this?
Thanks!
You can try to create a user-defined function that will take care of deleting the file and call it from the trigger.
Here is an example: SQLiteFunction Simple Not Working