Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 New SQL Server installation - existing databases
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

108 Posts

Posted - 08/30/2004 :  14:12:28  Show Profile  Reply with Quote
I installed Win Xp SP2 and it crashed my PC.
I was forced to reinstall windows and sql server.
Is it possible to recreate the same database using the existing database files. There is only an option for restore database and one needs a backup for that.
I have the original database files.

Almighty SQL Goddess

38200 Posts

Posted - 08/30/2004 :  14:16:19  Show Profile  Visit tkizer's Homepage  Reply with Quote
Well, maybe.

Try sp_attach_db to attach the MDF and LDF files to the database server. Syntax is documented in SQL Server Books Online.

Go to Top of Page

Posting Yak Master

108 Posts

Posted - 08/30/2004 :  14:44:17  Show Profile  Reply with Quote
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000