I'm working on a procedure to determine whether a file exists on the path referenced in a field of my database.
In some instances, I will need to be able to copy this file to another location on my server and then delete the original once I've confirmed that the copy operation was successful.
how can I accomplish this with T-SQL in Sql Server 2008 R2