# Upgrading to Advanced Insights 2.1 and later from 1.0.x and 2.0.x versions

*Applies to: Patch My PC Advanced and Patch Insights*

Version 2.1 of Advanced Insights removes SQL Server dependency. Advanced Insights configuration data previously stored in SQL Server will now be maintained in a SQLite database which is stored in *%ProgramData%\AdvancedInsights\Data\Api\AdvancedInsightsConfig.db*

Example upgrade summary page when migrating from SQL to SQLite db:

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FYSgZa4MbUvMtcLpbb47w%2Fimage.png?alt=media&#x26;token=3fc0c661-5dbc-4733-8fff-b72eb83f367e" alt=""><figcaption><p>Upgrade summary page</p></figcaption></figure>

All data will be migrated to this new database from SQL Server when the application first starts up following upgrade.

Once this is complete (you can confirm this by logging into Advanced Insights post-install) you can safely remove the PMPCAdvancedInsights SQL database. If you had installed SQL Express to support this requirement, this can also be removed.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.patchmypc.com/patch-my-pc-insights/upgrading-insights/upgrading-to-advanced-insights-2.1-and-later-from-1.0.x-and-2.0.x-versions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
