Have you tried Import data from the Enterprise manager? (If you have the entrise edition). Do you have backups? Are the databases on drives that are still good? If so, try coping the db to a new drive and try using the stored proc called sp_attach_db. Look at books on-line for the syntax (as you will need to attach 2 files).
Yes. The easiest way is to build a new instance of SQL Server. Then as pweegar suggested, copy the .mdf and .ldf files (that's the database and log files) to the new server and use the attach command (Attach database via Enterprise Manager, or sp_attach_db via Query Analyzer). Depending on the severity of the crash, your database may be corrupted or have other problems attaching. Search this and the Microsoft SQL Server: Programming forum for the keywords attach database.
I cannot use the import feature because the database is down, and I believe that the source database needs to be up and running in order to perform an export...
you'll probabbly have torn framentations in the database but thats another story .... if you have a backup.. then make a new database with the same name as the last one,just an a empty shell and then restore the backup on that ..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.