I think you mean to delete the file but I’m not sure.
In SQL to delete a table or files use the ‘drop table’ command
Statement = ‘Drop table ‘ + tableName
To delete a row — if that’s what you want build the statement
Statement = ‘Delete from ‘ + tableName + ‘ where ‘ + rules
Either would be a dynamic SQL statement.
Here is an example: