Best Migration Path from MS SQL Server 2005 to MS SQL Server 2012

Posted on 2014-10-07
Medium Priority
Last Modified: 2016-02-13
Can somebody provide the best plan, path, tools/utilities, and processes to use in order to migrate an existing MS SQL Server 2005 instance running on Windows Server 2003 to MS SQL Server 2012 running on Windows Server 2012 ?  For example, are there built-in migration wizards that work well, and if so does one first have to migrate from MS SQL Server 2005 to MS SQL Server 2008 (and then from MS SQL Server 2008 to MS SQL Server 2012) to use those migration wizards ?  Or can one effectively use migration wizards built-in to a new installation of MS SQL Server 2012 to migrate from the existing MS SQL Server 2005 server ?  Do the built-in MS SQL wizards work pretty well, or are there some relatively inexpensive but effective third party tools (from Idera or others perhaps) that are well worth the money for such a project ?  And finally, are the DBs and Stored Procedures the main things that need to be migrated ?  Or are there any other processes or rules or alerts that need to be researched or migrated as well ?  TIA ...
Question by:LGroup1
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 51

Accepted Solution

Vitor Montalvão earned 2000 total points
ID: 40366324
You can migrate directly from SQL Server 2005 to 2012. Best method should be side-by-side and using backup/restore or detach/attach.
First thing to do is to  run the SQL Server 2012 Upgrade Advisor on the SQL Server 2005 instance before you start with the upgrade. That tool will search for deprecated features and the compatibility of the code and data and will give you a list of warnings and errors at the end of the report.
If you have reports (SSRS), packages (SSIS) and cubes (SSAS) you might consider migrate them also. But usually you won't need third-party software.
After migrating the databases don't forget to set their compatibility to SQL Server 2012, rebuild the indexes and run a full backup.

Author Comment

ID: 40366408
Okay, thanks.  This process seems pretty easy, should this be a pretty straightforward upgrade ?  Do these things usually go pretty smoothly ?
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 40366427
Depends on the report from the SQL Server 2012 Upgrade Advisor. If nothing has to been reported than usually is that simple as I wrote. Otherwise you need to fix the warning and errors reported before migration.
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.


Author Closing Comment

ID: 40366435
Thanks !

Author Comment

ID: 40369059
Also, does one have to migrate the settings from the MS SQL Server 2005 System DBs, and if so how is that done ?  Or is that basically just including the SSRS, SSIS, and SSAS packages ?  In addition, would it be recommended to migrate from MS SQL Server 2005 to MS SQL Server 2008 first and then to MS SQL Server 2012, or is it okay to jump right from MS SQL Svr 2005 straight to MS SQL Svr 2012 ?  TIA ...
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 40370087
You don't migrate the settings. It's a new server and a new SQL Server version so you should configure the new instance according your resources.
There's no need to migrate to SQL Server 2008 first. SQL Server 2012 recognizes databases from SQL Server 2005.

Author Comment

ID: 40370513
Great, thanks again,

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to take pictures with depth using iOS 10
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question