Solved

sql server database upgrade procedure

Posted on 2014-03-04
11
444 Views
Last Modified: 2014-05-03
hi,
I have a program that connects to a SQL server database.
The server is currently server2003 - sql server standard 2003 v8.00.760 (SP3)  32bit

I need to upgrade the software and the software want the backend database upgraded to 64bit.

I have a second server running srv 2008 and sql svrr 2008, and I have a license for sql svr 2012 ready to go.

What would be the best procedure to move the database over to the new server and upgrade it to 64bit?
0
Comment
Question by:wolfcamel
[X]
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
  • 5
  • 2
  • 2
  • +2
11 Comments
 
LVL 10

Assisted Solution

by:HuaMinChen
HuaMinChen earned 250 total points
ID: 39905215
Try to do these
set up SS 2012 on new server
detach the databases which are running one old versions
copy .mdf and .ldf files from old server to new one
attach the databases to SS 2012
0
 
LVL 20

Author Comment

by:wolfcamel
ID: 39905229
are you sure that is all I need to do?
0
 
LVL 20

Author Comment

by:wolfcamel
ID: 39905258
I have seen suggestions that I need to get it onto sql2008 first and then to 2012 - but I would rather not if I can avoid it!
But I don't want to try and go straight to 2012 only to find I need to go back to 2008 as I never like downgrading any app as something is always prone not to work!
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 20

Author Comment

by:wolfcamel
ID: 39905263
and sorry - that is sql server 2000 that is running on server 2003!
0
 
LVL 10

Expert Comment

by:HuaMinChen
ID: 39905311
You can try to set up SS 2012 and then attach those .mdf/.ldf file from your previous SS 2000, to that.
0
 
LVL 25

Accepted Solution

by:
Lionel MM earned 250 total points
ID: 39907027
I usually use the procedure to make a backup (.bak) of the sql database from SQL 2000; then in the later version of SQL you create a "new" database using the "restore database" function in Enterprise Manager. This usually works but depending on the application you are using you may have to adjust tables or add fixes to account for the changes in the SQL 2000 and later versions structure.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 39907485
You cannot upgrade directly from SQL Server 2000 to 2012 and you certainly cannot downgrade.  So I would test carefully first.
0
 
LVL 35

Expert Comment

by:David Todd
ID: 39916737
Hi,

As per Anthony's comment above, I find it much safer to restore databases than to detach/attach.

You are looking at needing to restore/backup from an intermediate version - either SQL 2005 or SQL 2008.

Do check the compatibility level.

Do check the page validation.

HTH
  David
0
 
LVL 20

Author Comment

by:wolfcamel
ID: 39916762
thanks david - however I am no SQL expert ..so..
How do I check the compat level and page validation?

I have 2008 on the machine now and will upgrade to 2012 later if I can get it working on 2008!
0
 
LVL 35

Expert Comment

by:David Todd
ID: 39916862
Hi,

Right click on the database and select properties.

I can give you the queries, but far easier initially to do from the SSNS GUI.

HTH
  David
0
 
LVL 20

Author Closing Comment

by:wolfcamel
ID: 40039367
it was easier than I thought - I connected to both servers and did a copy and everything worked well.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Syntax: How to force case sensitive query? 2 56
SQL - format decimal in a string 5 49
sql 2016 data tools breakdown.. 1 25
SQL syntax question 6 39
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

756 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