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

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 how to use sql server 2005 and 2008 in the same OS

Author  Topic 

hanhanwu
Starting Member

1 Post

Posted - 2013-02-18 : 22:45:35
Hello

I always use sql server 2008, and now my new projects need 2005. I searched solution to create scripts on 2008 and use it on 2005, however their mdf file on their 2005 cannnot be attached to my 2008. So, I tried to install 2005 at the same time.
I have also tried to give the instance of 2005 a name instead of using default instance, still cannot find that instance. Can I use 2008 management studio to open 2005 instance?
or do you know how to attach 2005 mdf file on my 2008? Why I cannot even attach that file?

bandi
Master Smack Fu Yak Hacker

2242 Posts

Posted - 2013-02-18 : 23:29:15
>>however their mdf file on their 2005 cannnot be attached to my 2008.
which error you got while attaching 2005 .mdf file to 2008?
Check this link for troubleshoot
http://learningsqlserver.wordpress.com/2011/02/13/how-can-i-open-mdf-and-ldf-files-in-sql-server-attach-tutorial-troublshooting/

If you have only .MDF file without .ldf file, then see below link
http://sqlandme.com/2011/04/29/attach-a-single-mdf-file-database/

--
Chandu
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-02-19 : 00:15:25
both are possible

you can use 2008 management studio to open 2005 instance and also attach 2005 mdf file on 2008 instance

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -