Solved

SQL 2008r2 upgrade

Posted on 2013-11-14
3
221 Views
Last Modified: 2013-11-29
A client of ours needs SQL 2008r2 standard. Up until this point they have been running the MSDE version of SQL for a couple of databases.  They have a single server that we will be installing this on.  My question to you is will it simply upgrade the MSDE version to SQL2008r2 during the install or will we have to do anything to not mess up those databases?  Thanks for your help.
0
Comment
Question by:jruskey
3 Comments
 
LVL 38

Expert Comment

by:Jim P.
Comment Utility
Are you sure it is MSDE? That essentially was declared dead in 2005 with the SQL 2005 Express edition. The restrictions were less on 2005 Express .

And a server that was running MSDE I would look at very closely as to whether it can handle 2008 Express let alone the Standard edition.

With that being said, I wold suggest having a replacement server. Shutdown the MSDE services and then copy the MDF and LDF files to the new server. Then attach the databases to the new SQL server instance.

After they attach use the sp_help_revlogin to transfer logins.

Note that once a higher version of SQL touches an mdf/ldf file they can never be used by the lower version again.
0
 
LVL 35

Accepted Solution

by:
David Todd earned 500 total points
Comment Utility
Hi,

I prefer to restore a backup rather than fiddling with the actual data files. You don't have to shut SQL down or disconnect the databases.

If they are all on the one server, I'd be inclined to install SQL 2008R2 as a named instance, and migrate on the one server.

In terms of a version upgrade/edition upgrade in place, I'd be a bit suspicious that it would work as you hope. Personally I wouldn't chance it, as worst case it could me restoring the server from tape to recover.

Note that there are several version of sp_help_revLogin, and different ways to invoke the procedure. As well as the logins, you do want to capture server roles, and default databases. (I suggest that if the default database is master you change it to tempdb. Its very rare that master is available and not tempdb, and if that is the case, then very little else will work properly anyway. For users with public access only it doesn't make much difference. For sysadmin users, it means that accidently executing a create table/procedure/function without selecting the database means master doesn't get all this bloated junk in it.)

If you do all this side-by-side, you can do this as a test system, get sign-off on the upgrade, then do the cutover.

HTH
  David
0
 
LVL 1

Author Closing Comment

by:jruskey
Comment Utility
My other versions of SQL were named instances, so I was able to install the full version of SQL and not touch those other versions.  Thanks!
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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.

744 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

8 Experts available now in Live!

Get 1:1 Help Now