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 2005 Forums
 Express Edition and Compact Edition (2005)
 Attaching sql 2000 db to 2005
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mark360
Starting Member

5 Posts

Posted - 03/31/2007 :  14:29:34  Show Profile  Reply with Quote
Hi,

I have made a backup of a sql 2000 database that was on the server at work and and I would like to use it in sql 2005 express on my home laptop.

Can anyone help? I can't seem to work out how to do it. Do I restore it or re-attach it? Is it possible?

Sorry if these are basic questions.

Mark

dinakar
Flowing Fount of Yak Knowledge

USA
2507 Posts

Posted - 03/31/2007 :  15:08:26  Show Profile  Visit dinakar's Homepage  Reply with Quote
You can either restore it or attach it. Make sure to set the compatibility mode to 90, reindex all the tables/ update stats on all the tables . Detach/Attach is like cut/paste. You detach from your source server and attach it to the target server. so, at anytime you are working on the same file. In backup/restore your db will still exist on the source server. So you will end up with the db on the source as well as destination server.

************************
Life is short. Enjoy it.
************************
Go to Top of Page

Mark360
Starting Member

5 Posts

Posted - 03/31/2007 :  15:44:31  Show Profile  Reply with Quote
Thanks for that, I have got it working. Also, thanks for explaining the differences between the two.
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.11 seconds. Powered By: Snitz Forums 2000