Re: Upgrading 2000 to 2005

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



You'll need to put something in your script to check for the existence of
SQL Server 2000 an then run the appropriate command line based on the
results.

--
Cheers,
Dan
Lead Program Manager
SQL Server Manageability Platform Team
"This posting is provided "AS IS" with no warranties, and confers no rights"
"PJU" <PJU@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D9DAE2EE-F176-47E8-88BA-56C7D292FE2B@xxxxxxxxxxxxxxxx
You got it.... and yes it fails if there isnt an instance on the machine.
I had hoped that it would install a new one if one doesnt exist, and
upgrade
if one does.




"Dan Jones (MS)" wrote:

So what you're saying is you want to install SQL Server 2005 with a
specific
instance name (could be default) but you don't know if SQL Server 2000 is
on
the box with the same instance name. If it isn't there you just want to
install, however, if it is there you want to upgrade it - and you want to
do
this with a single command line. Did I get this correct? I'm pretty sure
this isn't something we tested. The expectation is you know beforehand if
you're doing an upgrade or a new install. Did you try the following
"setup.exe ADDLOCAL=SQL_Engine UPGRADE=SQL_Engine INSTANCENAME=<foobar>"?

I'm going to guess that it'll fail for new installs because it will
attempt
to do an upgrade and it won't find an existing instance.

--
Cheers,
Dan
Lead Program Manager
SQL Server Manageability Platform Team
"This posting is provided "AS IS" with no warranties, and confers no
rights"


"PJU" <PJU@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7C82BEB5-CE9D-464E-974D-8A380843A4ED@xxxxxxxxxxxxxxxx
Yes, understand that... but how do i cover the upgrade and new install
on
the
one command line. ?




"Dan Jones (MS)" wrote:

If you want to do a new install you need to add ADDLOCAL=SQL_Engine

--
Cheers,
Dan
Lead Program Manager
SQL Server Manageability Platform Team
"This posting is provided "AS IS" with no warranties, and confers no
rights"
"PJU" <PJU@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F562B268-52D8-46A7-B040-A2D8ABF56D9A@xxxxxxxxxxxxxxxx
I need to upgrade a lot default installs of MSDE to SQL Express, and
install
new default installs.
If i use the commandline switch UPGRADE=SQL_Engine then the upgrade
of
existing default instances works fine. However if its a new install
then
it
says it cant upgrade. and fails. This need to be automated.

Is there another command line switch that can acheive this ????









.



Relevant Pages

  • Re: MSSQL on XP-Pro
    ... do have backups of the data files and the solomon pgm files on another ... Isn't there a free SQL Server, something open source, that I think I saw ... There are two ways to upgrade. ... upgrade when you run the 7.0 install. ...
    (microsoft.public.sqlserver.setup)
  • Re: tools not installed but setup thinks they are
    ... Reason: Your upgrade is blocked. ... Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books ... and selected "install to local hard drive" for everything, ...
    (microsoft.public.sqlserver.setup)
  • Re: SQL Problems and Reporting Services
    ... As I go through the install of R2, I try to upgrade the SQL 2000 ... Reason: Your upgrade is blocked. ... Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books ... information about edition upgrades, see the Version and Edition Upgrades ...
    (microsoft.public.windows.server.sbs)
  • Re: correct way to update AIX 4.3.3.0 to maintenance level 4330-11?(AIX newbie)
    ... >> on EMC storage and EMC recommends that I install 'Maintenance Level ... > My preferred way of doing an upgrade like this is to use their alternate ... > disk installation technique where you clone your current o.s. ... > Also, if you look at the Reference Documentation section, it has command ...
    (comp.unix.aix)
  • Re: SQL 2005 wont upgrade using R2 discs
    ... Are you sure the default instance you are trying to install isn't MSDE? ... Microsoft SQL Server 2005 Tools ... But I assume I need to upgrade the default instance too, but when I try that I get a similar error message. ... For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online. ...
    (microsoft.public.windows.server.sbs)