|
Posted by Erland Sommarskog on 01/11/07 21:52
jai (dbasybase@gmail.com) writes:
> I am on sql2005. The database in question, is on single mdf and single
> ldf with full text catalogs. Can't I do a sp_attach_single_file_db with
> mdf file. I tried it on a smaller database and it created a log file.
Yes, you should be able to detach the original database, copy the files
and attach the copies. But since you asked about restore, I assumed that
you had a backup already. Also, while copy and attach is likely to be
faster, it means that the original database is offline while you copy.
--
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]
|