November 13, 2013 at 10:35 am
I need to migrate an old SQL 2000 database, setting on a windows 2000 server, to a SQL 2008 setting on a 2008 server OS (different server).
I have a backup of the database with me (which I got by using a db full backup. The database size is 50 GB.
What's the best way to do this?
Update:
Never mind. I was able to do it . It's straight forward restore with replace.
Thanks,
November 14, 2013 at 1:54 pm
Since you are going from SQL2000 to 2008 you need to do a dbcc update usage.... also, at bare minimum run Update stats as SQL2008 handles indexes differently. Really you should rebuild all indexes when you move a db from an older version of SQL server to a newer one.
November 17, 2013 at 10:28 pm
if you restore SQL 2005 on SQL 2008 you will not be able to make use of some of DMV's unless you change compatibility level to 100 and also you might get errors for few sql syntax like *= or =* (left joins & right joins)
November 17, 2013 at 11:54 pm
Restore then, run a checkDB with data_purity, update all stats with fullscan, run DBCC updateusage. Then consider whether you're going to change the compatibility level
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 24, 2013 at 12:42 pm
What does changing the compatibility level do?
Thanks
November 24, 2013 at 1:41 pm
http://technet.microsoft.com/en-us/library/bb510680%28v=sql.105%29.aspx
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 27, 2013 at 5:53 am
You can access data of old version in new version. That is you can access data of SQL 2000 in SQL 2008
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply