Solved

upgrading SQL database

Posted on 2012-12-20
5
164 Views
Last Modified: 2013-01-02
Hi.

Consider the following scenario,

An application is compatibile with windows sql server 2003.
Now a service pack has to be added to this baseline version of this application.

After implementing this SP, the application could be run and is compatible with sql server 2008.
A fresh installation of the baseline version of application has to be installed on workstation and then  SP implemented on top of it.This makes the application compatible to be run with windows sql server 2008.

Can an existing database (sql server 2003) be upgraded to sql server 2008 on the machine on which it is running at that moment.
0
Comment
Question by:AmmarDJ
  • 3
5 Comments
 
LVL 42

Expert Comment

by:EugeneZ
ID: 38710737
did you mean sql server 2005 ?

yes, but it depends on what edition do you use:

if standard to standard ; etc.

however, you must review and address if there are any issues

Useful links for upgrading to SQL Server 2008
http://blogs.msdn.com/b/sqlcat/archive/2009/03/27/useful-links-for-upgrading-to-sql-server-2008.aspx
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 38710745
0
 

Author Comment

by:AmmarDJ
ID: 38711099
thanks Eugene.

I am doing a fresh installation of a application xyz.
I install the baseline version.
The baseline version is compatible with MS SQL 2005 but not MS SQL 2008.
THe application while installation asks for instance and database.

I then install the SP on the baseline version.
After implemeting SP on the baseline the application could be run with MS SQL 2008.

I have a fresh database server with MS SQL server 2008.
What if I am doing a fresh installation of the application first (compatible with MS SQL 2005).
Can I point the application to the old database MS SQL 2005 while installing the baseline and then implement the SP and then somehow point it to MS SQL 2008.
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 38711321
That should work, if you know how to change the instance and DB info of the application. We cannot answer that question, because it is nothing more than the application logic and configuration which determines which server and DB to use.

Do you have sqlncli.exe on the client, that is, is the MSSQL native client installed? With "SQL Server Configuration Manager" (sqlncli.exe) you can define Aliases for MSSQL - so you can rename the MSSQL 2005 connection to be the same as the 2008 one for installation, and then remove that alias, or change it to point to the 2008 server.

Example:
Your MSSQL 2005 is named mssql\sql2005, the correct one is mssql2008\sql2008.
You create an alias called mssqlapp, pointing to server mssql\sql2005.
The application's db server to use is mssqlapp.
After applying the service pack, change that alias to point to mssql2008\sql2008.
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 38711345
<Can I point the application to the old database MS SQL 2005 while installing the baseline and then implement the SP and then somehow point it to MS SQL 2008. >

yes, you can -- it is your application connection string setup (as per Qlemo- check your code)
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DTS Connection Failed 7 66
Help creating a spatial object in SQL Server 4 20
Create snapshot on MSSQL 2012 3 17
Sql Query 6 63
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.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how the fundamental information of how to create a table.

786 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