Solved

Microsoft SQL -- 32bit to 64bit ?

Posted on 2014-09-17
3
460 Views
Last Modified: 2014-09-23
What is the easiest way to convert
several old SQL 2000 32bit databases
to SQL 2012 64bit databases ?

Example
  1.      Purchase 64bit server
  2.      Install 64bit Windows 2012 Standard
  3.      Setup Hyper-V #1 VM called AppServer
  4.      Install 64bit application software
  5.      Setup Hyper-V #2 VM called SQLServer
  6.      Install 64bit SQL 2012 Standard
  7.   Detach from 32bit SQL 2000, attached to 64bit SQL 2012” like the below links talk about  ?

  ** http://social.msdn.microsoft.com/Forums/sqlserver/en-US/0d68c0c5-67aa-4860-8e15-e72a2d84f600/converting-database-from-32bit-sql-server-2005-to-64bit-version-of-sql-server-2005?forum=sqlsetupandupgrade

  ** http://stackoverflow.com/questions/2526375/32bit-to-64bit-sql-server-2008-database-conversion
0
Comment
Question by:finance_teacher
  • 2
3 Comments
 
LVL 47

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 500 total points
ID: 40327805
You can't migrate from SQL Server 2000 directly to 2012 because isn't supported. You need to migrate first to SQL Server 2005 or 2008 (compatibility only goes 2 versions backwards).

But there's no issues migrating from 32 bit to 64 bit since the databases aren't affected by the architecture. That's more about the efficiency on using the resources.
0
 

Author Comment

by:finance_teacher
ID: 40328492
So the below will work ?
 1. Detach from 32bit SQL 2000
 2. Attach to 64bit SQL 2005 or 2008 --> like my links talked about
 3. Detach from 64bit SQL 2005 or 2008
 4. Attach to 64bit SQL 2012
0
 
LVL 47

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40329746
The steps aren't that direct but almost.
Before step 1 and 3 I will recommend you to run the upgrade advisor  (for SQL 2005/8 and 2012 respectively) to check if there are any incompatibilities.
And after step 2 and 4 you will need to set the compatible mode of the database to the version that you migrated to and run the DBCC CHECKDB with the DATA_PURITY option.
DBCC CHECKDB ('<db_name_goes_here>' ) WITH ALL_ERRORMSGS,NO_INFOMSGS, DATA_PURITY

Open in new window

And for last step some people like to also to update the statistics from all tables or even run a full reindex job. This step you can only do it after migrating to SQL Server 2012.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now