Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error creating a database with sp_attach_db
Message
From
09/08/2002 12:29:29
 
 
To
09/08/2002 11:48:52
David Underblau
Underblau's Concept
Barcelona, Spain
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
00688034
Message ID:
00688065
Views:
19
sp_attach_db is supposed to only work with databases that were previously detached.

You could try to create the database with the FOR ATTACH option. If that doesn't work, try recreating the entire database exactly like it was, stop SQL Server and copy the actual mdf and ldf files over the empty ones. I'm not making any promises that this will work.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform