Forum Moderators: open
I installed SQL 7.0 on another machine, and NEED to get the databases from the previous machine loaded into the new one. I have the entire directory file from the old machine--- C:/MSSQL7/*.* --- including the data file, which seems to contain the databases I'm missing.
I've tried just coping over the data files, replacing the data files, replacing the entire directory under MSSQL7, etc.
Does anyone know how I can access those databases from the previous machine having the actual files from it?
Thanks in advance for whatever help can be provided.
ES
Its been a long while since I had to do this , but I'm pretty sure that you need to create a new database in Enterprise Manager first and then stop the SQL service. Then go into the folder where the new Data File and Transaction Logs have been created, delete them and copy in the original ones from your other machine, the names but match exactly e.g MyDatabase_log.ldf and myDatabase_Data.mdf.
I ran the stored procedure as suggested. The response was that the database as successfully attached.
However, when I go into enterprise manager to try and view the database, I doesn't show the database, and still shows not items.
I feel like I'm really close on getting this. Thanks for your help everyone.
Let me know if you have any ideas on how to correct this last bump.
ES