Hi hassalla,
I would be more tempted to use sp_attach_db to see if this works first, the example below creates a new copy of the pubs db from file copies of the mdf & ldf while SQL server is stopped:
sp_attach_db 'pubs3', 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\pubs3.md
Essentially you can do exactly the same, but just try a different db name than your current db first like lime2.
more details about sp_attach_db here:
http://msdn.microsoft.com/
Main Topics
Browse All Topics





by: mastooPosted on 2004-11-09 at 09:47:55ID: 12535947
Drop the database, create a new one with the same name and same files, stop sql server, overlay your database and log files, start sql server.