How to move databases using detach/attach functions?

How to move databases using detach/attach functions?

  • Comments 2

Quickie post this morning. I was in a review of customer support cases yesterday lunchtime and noticed a trend of cases where people get into trouble moving databases around. There is a good KB article (http://support.microsoft.com/kb/224071/) which explains how to do this for user databases, master, model, tempdb and msdb. It also contains a link to a SQL Server 2005 hotfix for the problem where after detaching a databases that resides on network-attached storage, it can't be reattached.

Well worth reading to avoid downtime and a support call.

Leave a Comment
  • Please add 4 and 3 and type the answer here:
  • Post