|
Posted by Erland Sommarskog on 08/17/06 22:04
Stu (stuart.ainsworth@gmail.com) writes:
> the safest method is to do a backup and restore; however, you can
> detach, move, and reattach (usually) with no problems. Of coruse,
> before doing any operation such as this, you should take a backup first
> (which is why the first method is recommended).
The advantage with detach/attach is that you don't have to wait for
the new data file to be initiated. For a 3GB database that's maybe 5-10
minutes on SQL 2000. SQL 2005 has some quick initiation under some circum-
stances.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|