Database considerations
Plan compatible SQL upgrades and apply service packs on default Command Centre installations.
Plan the SQL version path alongside every multi-release Command Centre upgrade. Check the Command Centre Compatibility Matrix before selecting each Command Centre and SQL version.
Worked example: upgrading 5.21 (Windows XP) to 8.30 (Windows 10)
Upgrade the Windows XP machine to 6.10 first; that upgrade handles its own SQL instance, so no separate SQL work is needed at this step.
Installing 7.20 (likely on a Windows 7 / 8.1 machine) installs SQL 2012 SP1. Attaching the 6.10 database/backup is straightforward.
Before upgrading to 7.70, check its minimum supported SQL. For SQL 2012 that is Service Pack 2, but because the goal is 8.10 on this machine, upgrade the SQL instance to Service Pack 3 (the minimum 8.10 supports) instead.
7.20 installs the 32-bit (Express) version of SQL 2012 (assuming SQL was not manually installed), so download the 32-bit (x86) service pack from Microsoft.
Note: To ensure data integrity, always back up the databases before upgrading Command Centre or upgrading the SQL instance.
The SQLUpgrade utility (default-install SQL service packs)
On a default install, a SQL service pack cannot be run on its own because the SQL instance is restricted to an account you are unlikely to have access to. Gallagher includes a utility that grants access to the instance so it can be upgraded. It is on the install media of all Command Centre versions 8.20 and lower, in one of:
Setup\SQLInstallSQLUpgrade\SQLUpgrade.exe
SQLInstallSQLUpgrade\SQLUpgrade.exeRemember: SQL has its own upgrade path, which you may want to verify first: Microsoft SQL Server upgrade documentation
Procedure: place the service pack in a folder you create (preferably just off the root directory) and put the tool there too. Run the tool as administrator, browse to the Service Pack, and press the upgrade button. The utility also shows the current SQL version and service pack.

When the Upgrade button is pressed, the utility runs the SQL service pack as a user with the privileges to update the instance. At the Select Features screen, ensure the SQL instance is checked and available to upgrade; if that option is not present, the instance will not be upgraded.

Allow the upgrade to complete, start the Command Centre services, log in, and confirm everything works. The same process works for a normal upgrade between SQL versions. For the dedicated Express-to-Standard edition upgrades, see Databases - Upgrading SQL Express to SQL Standard.
Helpful resource
To download SQL service packs (routes to Microsoft): sqlserverbuilds.blogspot.com
🔗 Related
Databases - Upgrading SQL Express to SQL Standard. The edition-upgrade path.
Databases - SQL Collation. What the upgrade does to a custom collation.
Databases - Sizes and Examples. Why an upgrade can temporarily grow the event database.
Last updated
Was this helpful?
