sql error
sql error
If you want to copy or move your mdf and ldf files to another location, you’ll have
to either take the database offline or shutdown the SQL service. To offline the
database, please try one of the following:
Solution1:
2. Select the Database that you want to copy then right click it.
Solution2:
Once the database is offline, you can successfully copy these database files to any
folder.
The action cannot be completed because the file is open is another program close
file and try again
What could be keeping that file open and how can I carry on with copy / delete /
overwrite files(DB) as this problem is something very common.
sql-serverdatabase
https://serverfault.com/questions/111598/error-file-in-use-sqlserver