
How the Database Upgrade Tool Works
When the SQL Server Compact Database Upgrade tool (Upgrade.exe) is run on a smart device, a new SQL Server Compact database is created. The new SQL Server Compact database, with the file name extension .sdf, contains all the data in the source database. To use Upgrade.exe, both the SQL Server Compact and SQL Server CE runtimes must be installed on the mobile device.
The source database from the earlier version of SQL Server Compact also remains on the device. Before running the Database Upgrade tool, you must make sure that the device has sufficient memory in both databases. Additionally, the Database Upgrade tool requires approximately 300 KB of memory on the device.
The Database Upgrade tool does not upgrade tracking or subscription information. Only data in the source database is upgraded.
Important: |
|---|
|
If you are using replication or remote data access (RDA) for connectivity, you must synchronize the source SQL Server Compact database together with the SQL Server database first, before upgrading the database. Upgrading a connectivity database would only be used to preserve any local tables that might exist in the database. This is because, after the upgrade, you will have to re-subscribe or re-pull from the new database.
|