I am storing the names of files which have been uploaded to my server in a column called uploaded. All of these files are in the same directory on the server.
I need to have the actual files deleted when the corresponding record is deleted from the database. Is this possible with a DELETE Trigger? I am very new to T-SQL so any code would be helpful.
Thanks