Solved

upgrading SQL database

Posted on 2012-12-20
5
166 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
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.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

830 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