SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 how to use sql server 2005 and 2008 in the same OS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hanhanwu
Starting Member

1 Posts

Posted - 02/18/2013 :  22:45:35  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

India
2168 Posts

Posted - 02/18/2013 :  23:29:15  Show Profile  Reply with Quote
>>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

India
52249 Posts

Posted - 02/19/2013 :  00:15:25  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000