I am trying to free up some space in the server by detaching the unused database and deleting the ldf & mdf files. Here are the steps I took 
1. Performed a full back up of the database 
2. Moved the BAK file to a different location in another server 
3. Ran the follwing on the database since it was a publisher in the replication 
sp_replicationdboption 'dbcentral,'publish','false' 
4.Detach the database 
5. Restore the db from the bakupfile somewhere to make sure that the back up is good.
6. Delete the files since I have a full back up.
 
No comments:
Post a Comment