> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/deployment-resources/engineering-and-design-reference/migrate-and-upgrade/upgrade-sql-server.md).

# Upgrade SQL Server

Check supported Microsoft SQL Server upgrade paths before upgrading Command Centre.

Microsoft SQL has its own supported upgrade paths, and they are crucial during a Command Centre upgrade. Some scenarios are not supported and the upgrade will fail.

Check the Microsoft documentation before you upgrade an instance: [Upgrade SQL Server](https://learn.microsoft.com/en-us/sql/database-engine/install-windows/upgrade-sql-server?view=sql-server-ver16). It covers the pre-upgrade checklist, unsupported scenarios, the tables of supported upgrade paths from earlier versions, and edition upgrades.

### SQL checks before an upgrade or server migration

Specific cases where a site may have particular requirements during an upgrade or server migration:

| Check                                     | What to know                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| SQL Server compatibility                  | The SQL Server version must be one the target Command Centre version is compatible with: see the [Command Centre compatibility matrix](https://help.security.gallagher.com/knowledge-hub/products/cc-software/reference/command-centre-compatibility-matrix.md).                                                                                                                                                             |
| SQL Server High Availability              | High Availability (HA) is managed at the SQL level and is not configured or controlled through any Command Centre settings. An instance in an Always On availability group fails the upgrade: see [Upgrade fails when the database is in an Always On availability group](https://app.gitbook.com/s/6bM8WhlBE9BYizPWJaPN/cc-software/troubleshoot/command-centre-errors/upgrade-fails-with-an-always-on-availability-group). |
| SQL Server instance from 32-bit to 64-bit | When planning to upgrade to **v8.60 or later**, the Gallagher SQL Server instance must be **64-bit**. 32-bit SQL Server instances are not compatible with Command Centre v8.60 or later.                                                                                                                                                                                                                                     |
| SQL Server on a remote server             | The SQL can be hosted either stand-alone or clustered, as the customer prefers. Gallagher recommends standalone with dedicated resources, depending on the throughput of the system. See [Database hosting](https://help.security.gallagher.com/knowledge-hub/products/cc-software/configure/databases-an-overview-of-command-centr/databases-hosting-the-db-on-sql-cluste.md).                                              |
| SQL Server upgrade                        | Microsoft SQL has its own upgrade path; some scenarios are not supported and will fail (above).                                                                                                                                                                                                                                                                                                                              |
| SQL Server on Windows 11                  | A disk sector size greater than 4 KB can stop SQL starting after a reboot, including after an upgrade from Windows 10: see [Unable to install SQL on Windows 11](https://help.security.gallagher.com/knowledge-hub/products/cc-software/troubleshoot/command-centre-errors/command-centre-errors-unable-to-install-sql-win11.md).                                                                                            |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/deployment-resources/engineering-and-design-reference/migrate-and-upgrade/upgrade-sql-server.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
