Migrate a SQL 2000 database to a different server

  • 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,

  • 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.

  • 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)



    Praveen D'sa
    MCITP - Database Administrator 2008
    http://sqlerrors.wordpress.com

  • 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • What does changing the compatibility level do?

    Thanks

  • 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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