Replace Incorrect Azure SQL Data in Access Linked Tables
Question details
Move the correct records from a local Access table to Azure SQL and reconnect the Access front end to the backend tables.

- Product
- Microsoft Access and Azure SQL Database
- Device & OS
- not provided
- Scenario
- An Access front end uses Azure SQL linked tables, but the correct records were entered into a local table instead.
- Observed behavior
- The local table contains the correct data, while the Azure SQL backend needs to be updated and users need to reconnect to the proper linked tables.
Identify the local source table and the corresponding Azure SQL table, including their primary keys, relationships, and column differences. Arrange a maintenance window and confirm you have permission to export data, update the Azure database, and relink tables.
Stage the local records and update the Azure SQL table
Use this approach when the Azure SQL table already exists and its records need to be replaced or reconciled with the correct local data.
Do not assume that importing the local table will replace the existing Azure SQL table. Stage the records separately, then use a database-specific update plan that preserves keys and relationships.
Take the Access application offline and ask users to close their front ends. Confirm an Azure SQL restore point or backup is available, and make a copy of the Access database containing the local table.
In Access, select the correct local table in the Navigation Pane. Use External Data > Export > ODBC Database and connect to Azure SQL, exporting the records under a new staging-table name rather than the production table name.
In SQL Server Management Studio or another SQL client, compare the staging and production tables by primary key, row count, and column values. Have the database administrator apply the required inserts, updates, and any approved deletions in a transaction that accounts for identity values and related tables.
Query the updated Azure SQL table and related tables in your SQL client. Check record counts, representative values, and relationships against the local source before committing the change and allowing users back in.
In Access, open External Data > Linked Table Manager, select the affected links, and refresh or relink them to the Azure SQL tables. Test forms, queries, and reports, then deploy the updated front end to users and confirm that each computer has a compatible Microsoft ODBC Driver for SQL Server and valid connection credentials.

Migrate Access tables with SQL Server Migration Assistant
Use SQL Server Migration Assistant for Access when you need to migrate local tables and their schema to Azure SQL, rather than simply update an existing production table.
Use WPS Office for Everyday Office Documents
WPS Office is a free, lightweight alternative for working with familiar office documents. Its familiar interface and Microsoft Office format support make it easy to move everyday document work to WPS. It does not migrate Access databases or repair Azure SQL linked tables.

Frequently Asked Questions
Will exporting the local Access table automatically replace the Azure SQL data?
No. Export the local table to a separate staging table through External Data > Export > ODBC Database, then reconcile it with the production table using a plan suited to its keys and relationships.
How do I reconnect Access to the Azure SQL tables?
Open External Data > Linked Table Manager in Access, select the affected links, and refresh or relink them to the Azure SQL database. Test the linked tables and dependent forms and queries afterward.
What do users need to connect to the linked tables?
Each user needs the updated Access front end, a compatible Microsoft ODBC Driver for SQL Server, valid credentials, and network access to the Azure SQL database.
When should I use SQL Server Migration Assistant for Access?
Use it when you need to assess and migrate Access tables and schema to Azure SQL. Review the target and mappings first; migrating a table is not the same as safely reconciling records in an existing production table.




