Skip to content

Commit 9bb0d53

Browse files
authored
Refresh SSMA for Access (phase 2) (#36146)
1 parent 622b79a commit 9bb0d53

28 files changed

Lines changed: 1779 additions & 1685 deletions

docs/ssma/access/access-inventory-schemas-accesstosql.md

Lines changed: 153 additions & 141 deletions
Large diffs are not rendered by default.
Lines changed: 98 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
title: "Adding and Removing Access Database Files (AccessToSQL)"
3-
description: Learn how to add or remove Access databases to or from the SSMA project to migrate Access data to SQL Server or Azure SQL Database.
3+
description: Learn how to add or remove Access databases to or from the SSMA project to migrate Access data to SQL Server or Azure SQL.
44
author: nilabjaball
55
ms.author: niball
6-
ms.date: "01/19/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 12/30/2025
78
ms.service: sql
89
ms.subservice: ssma
9-
ms.topic: conceptual
10+
ms.topic: article
1011
ms.collection:
1112
- sql-migration-content
1213
helpviewer_keywords:
@@ -29,101 +30,98 @@ helpviewer_keywords:
2930
- "scanning for database files"
3031
- "searching for database files"
3132
---
32-
# Adding and Removing Access Database Files (AccessToSQL)
33-
To migrate Access data to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] or SQL Azure, you must add one or more Access databases to the SSMA project. These databases must be Access 97 or later versions. If you have databases from an earlier version of Access, you must convert the databases to a newer version. You do this by opening and saving the databases in Access 97 or a later version before you add them to SSMA.
34-
35-
## What Happens When You Add Access Database Files?
36-
When you add an Access database to an SSMA project, SSMA reads database metadata, and then adds this metadata to the project file. This metadata describes the database and its objects. SSMA uses the metadata when it converts objects to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] or SQL Azure syntax, and when it migrates data to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] or SQL Azure. You can browse this metadata in Access Metadata Explorer and review properties of individual database objects.
37-
33+
# Add and remove Access database files (AccessToSQL)
34+
35+
To migrate Access data to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] or Azure SQL, you must add one or more Access databases to the SSMA project. These databases must be Access 97 or later versions. If you have databases from an earlier version of Access, you must convert the databases to a newer version. You do this by opening and saving the databases in Access 97 or a later version before you add them to SSMA.
36+
37+
## What happens when you add Access database files?
38+
39+
When you add an Access database to an SSMA project, SSMA reads database metadata, and then adds this metadata to the project file. This metadata describes the database and its objects. SSMA uses the metadata when it converts objects to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] or Azure SQL syntax, and when it migrates data to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] or Azure SQL. You can browse this metadata in Access Metadata Explorer and review properties of individual database objects.
40+
3841
> [!NOTE]
39-
> An Access database can be split into multiple files: a back-end database that contains tables, and front-end databases that contain queries, forms, reports, macros, modules, and shortcuts. If you want to migrate a split database to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] or SQL Azure, add the front-end database to SSMA.
40-
41-
## Permissions that are required by SSMA
42-
To migrate an Access database to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] or SQL Azure, the Users group and the Admin user must have Administer permissions. For information about how to migrate databases with workgroup protection, see [Preparing Access Databases for Migration](preparing-access-databases-for-migration-accesstosql.md).
43-
44-
## Selecting Databases to Add
45-
If you want to add one or more databases to an SSMA project, and the files are all in one known location, you can add the files by using the following procedure.
46-
47-
**To add individual database files**
48-
49-
1. On the **File** menu, click **Add Databases**.
50-
51-
2. In the **Open** dialog box, locate the folder that contains the database file or files.
52-
53-
3. Select the files that you want to add, and then click **Open**.
54-
55-
## Finding Databases to Add
56-
If you want to add multiple Access databases from different folders to an SSMA project, or you want to add a single file but have to find the file, you can follow these steps to locate one of more files and add them to the project.
57-
58-
**To find and add databases**
59-
60-
1. On the **File** menu, click **Find Databases**.
61-
62-
2. In the Find Databases Wizard, enter the name of the drive, file path, or the UNC path that you want to search. Alternatively, click **Browse** to locate the drive or network folder.
63-
64-
3. Click **Add** to add the location to the list.
65-
66-
Repeat the previous two steps to add more search locations.
67-
68-
4. Optionally, add search criteria to refine the list of databases that are returned.
69-
70-
> [!IMPORTANT]
71-
> The **All or part of the file name** text box does not support wildcard characters.
72-
73-
5. Click **Scan**.
74-
75-
The Scan page appears. This shows the databases that have been found and the progress of the search. To stop the search, click **Stop**.
76-
77-
6. On the Select Files page, select the databases that you want to add to the project.
78-
79-
You can use the **Select All** and **Clear All** buttons at the top of the list to select or clear all databases. You can hold the CTRL key down to select multiple databases, or hold the SHIFT key down to select a range of databases.
80-
81-
7. Click **Next**.
82-
83-
8. On the Verify page, click **Finish**.
84-
85-
## Browsing Access Metadata
86-
After you add an Access database to a project, the project metadata appears in Access Metadata Explorer. You can browse the hierarchy of databases and database objects in the explorer.
87-
88-
**To browse metadata**
89-
90-
1. In Access Metadata Explorer, expand **access-metabase**, and then expand **Databases**.
91-
92-
2. Expand the database that you want to review, and then expand **Queries**.
93-
94-
Notice the list of queries. If you select a query, an **SQL** tab and a **Properties** tab appear in the right pane.
95-
96-
3. Expand **Tables** and then select a table.
97-
98-
Notice that four tabs appear: **Table**, **Type Mapping**, **Properties**, and **Data**.
99-
100-
4. Expand a table, expand **Keys**, and then select a key.
101-
102-
The key properties appear in the right pane.
103-
104-
5. Expand **Indexes**, and then select an index.
105-
106-
The index properties appear in the right pane.
107-
108-
## Refreshing Databases
109-
If an Access database changes after you add its file, you can update metadata from the Access database.
110-
111-
**To update Access metadata**
112-
113-
- In Access Metadata Explorer, right-click the database, and then select **Refresh from Database**.
114-
115-
## Removing Databases
116-
You can remove an Access database from a project by following these steps.
117-
118-
**To remove a database from a project**
119-
120-
1. In Access Metadata Explorer, expand **access-metabase**, and then expand **Databases**.
121-
122-
2. Right-click the database, and then select **Remove Database**.
123-
124-
## Next Step
125-
The next step in the migration process is to [connect to SQL Server](../sybase/connecting-to-sql-server-sybasetosql.md).
126-
127-
## See Also
128-
[Migrating Access Databases to SQL Server](migrating-access-databases-to-sql-server-azure-sql-db-accesstosql.md)
129-
[Creating and Managing Projects](creating-and-managing-projects-accesstosql.md)
42+
> An Access database can be split into multiple files: a back-end database that contains tables, and front-end databases that contain queries, forms, reports, macros, modules, and shortcuts. If you want to migrate a split database to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] or Azure SQL, add the front-end database to SSMA.
43+
44+
## Permissions that are required by SSMA
45+
46+
To migrate an Access database to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] or Azure SQL, the Users group and the Admin user must have Administer permissions. For information about how to migrate databases with workgroup protection, see [Prepare Access databases for migration](preparing-access-databases-for-migration-accesstosql.md).
47+
48+
## Select databases to add
49+
50+
If you want to add one or more databases to an SSMA project, and the files are all in one known location, you can add the files by using the following procedure.
51+
52+
1. On the **File** menu, select **Add Databases**.
53+
54+
1. In the **Open** dialog box, locate the folder that contains the database file or files.
55+
56+
1. Select the files that you want to add, and then select **Open**.
57+
58+
## Find databases to add
59+
60+
If you want to add multiple Access databases from different folders to an SSMA project, or you want to add a single file but have to find the file, you can follow these steps to locate one of more files and add them to the project.
61+
62+
1. On the **File** menu, select **Find Databases**.
63+
64+
1. In the Find Databases Wizard, enter the name of the drive, file path, or the UNC path that you want to search. Alternatively, select **Browse** to locate the drive or network folder.
65+
66+
1. Select **Add** to add the location to the list.
67+
68+
Repeat the previous two steps to add more search locations.
69+
70+
1. Optionally, add search criteria to refine the list of databases that are returned.
71+
72+
> [!IMPORTANT]
73+
> The **All or part of the file name** text box doesn't support wildcard characters.
74+
75+
1. Select **Scan**.
76+
77+
The Scan page appears. This shows the databases that have been found and the progress of the search. To stop the search, select **Stop**.
78+
79+
1. On the Select Files page, select the databases that you want to add to the project.
80+
81+
You can use the **Select All** and **Clear All** buttons at the top of the list to select or clear all databases. You can hold the CTRL key down to select multiple databases, or hold the SHIFT key down to select a range of databases.
82+
83+
1. Select **Next**.
84+
85+
1. On the Verify page, select **Finish**.
86+
87+
## Browse Access metadata
88+
89+
After you add an Access database to a project, the project metadata appears in Access Metadata Explorer. You can browse the hierarchy of databases and database objects in the explorer.
90+
91+
1. In Access Metadata Explorer, expand **Access-metabase**, and then expand **Databases**.
92+
93+
1. Expand the database that you want to review, and then expand **Queries**.
94+
95+
Notice the list of queries. If you select a query, a **SQL** tab and a **Properties** tab appear in the right pane.
96+
97+
1. Expand **Tables** and then select a table.
98+
99+
Four tabs appear: **Table**, **Type Mapping**, **Properties**, and **Data**.
100+
101+
1. Expand a table, expand **Keys**, and then select a key.
102+
103+
The key properties appear in the right pane.
104+
105+
1. Expand **Indexes**, and then select an index.
106+
107+
The index properties appear in the right pane.
108+
109+
## Refresh databases
110+
111+
If an Access database changes after you add its file, you can update metadata from the Access database.
112+
113+
In Access Metadata Explorer, right-click the database, and then select **Refresh from Database**.
114+
115+
## Remove databases
116+
117+
You can remove an Access database from a project by following these steps.
118+
119+
1. In Access Metadata Explorer, expand **Access-metabase**, and then expand **Databases**.
120+
121+
1. Right-click the database, and then select **Remove Database**.
122+
123+
## Related content
124+
125+
- [Migrate Access databases to SQL Server and Azure SQL](migrating-access-databases-to-sql-server-azure-sql-db-accesstosql.md)
126+
- [Create and manage projects](creating-and-managing-projects-accesstosql.md)
127+
- [Connect to SQL Server](connecting-to-sql-server-accesstosql.md)
Lines changed: 46 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,57 @@
11
---
2-
title: "Advanced Object Selection (AccessToSQL)"
3-
description: "Advanced Object Selection (AccessToSQL)"
2+
title: "Advanced Object Selection (AccessToSQL)"
3+
description: "Advanced Object Selection (AccessToSQL)"
44
author: nilabjaball
55
ms.author: niball
6-
ms.date: "01/19/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 12/30/2025
78
ms.service: sql
89
ms.subservice: ssma
9-
ms.topic: conceptual
10+
ms.topic: article
1011
ms.collection:
1112
- sql-migration-content
1213
f1_keywords:
1314
- "ssma.access.loadingobjectsdialog.f1"
1415
- "ssma.access.multichecktreeview.f1"
1516
---
16-
# Advanced Object Selection (AccessToSQL)
17-
The **Advanced Object Section** dialog box lets you filter database objects by using strings and substrings in the object name, and then select or deselect those objects. SSMA performs conversion and migration operations on selected objects.
18-
19-
To access this dialog box, right-click in a metadata explorer, and then select **Advanced Object Selection**.
20-
21-
When you first open the dialog box, click **Show Subcategories Items** to display all objects that have metadata loaded into the project. You can then enter strings to filter the items. For example, enter the string "company" to show all items with names that include that string.
22-
23-
Before you use this dialog box, you might want to force SSMA to load all metadata by either converting schemas or saving the project.
24-
25-
## Options
26-
**Check All Items**
27-
Adds a check mark next to all items. These items will be immediately selected in the metadata explorer.
28-
29-
**Uncheck All Items**
30-
Removes the check mark next to all items. These items will be immediately cleared in the metadata explorer.
31-
32-
**List View Mode**
33-
Displays filtered items in a list.
34-
35-
**Table View Mode**
36-
Displays filtered items in a table.
37-
38-
**Displayed Only Loaded Items**
39-
Toggles the display of categories or items. When this button is selected, SSMA shows all the items that match the filter criteria and those that were previously loaded. When this button is not selected, SSMA shows the category folders.
40-
41-
**Filter**
42-
Enter the string you want to use to filter items. For example, to find all available items that contain the string "ID" in the item name, enter the string "ID" in the **Filter** box.
43-
44-
If items match the filter criteria, the categories or items will appear as you type the string. To see the matching items, we recommend that you click the **Displayed Only Loaded Items** button.
45-
46-
**Clear Filter**
47-
Clears the **Filter** box.
48-
17+
# Advanced Object Selection (AccessToSQL)
18+
19+
The **Advanced Object Section** dialog box lets you filter database objects by using strings and substrings in the object name, and then select or deselect those objects. SSMA performs conversion and migration operations on selected objects.
20+
21+
To access this dialog box, right-click in a metadata explorer, and then select **Advanced Object Selection**.
22+
23+
When you first open the dialog box, select **Show Subcategories Items** to display all objects that have metadata loaded into the project. You can then enter strings to filter the items. For example, enter the string "company" to show all items with names that include that string.
24+
25+
Before you use this dialog box, you might want to force SSMA to load all metadata by either converting schemas or saving the project.
26+
27+
## Options
28+
29+
#### Check All Items
30+
31+
Adds a check mark next to all items. These items are immediately selected in the metadata explorer.
32+
33+
#### Uncheck All Items
34+
35+
Removes the check mark next to all items. These items are immediately cleared in the metadata explorer.
36+
37+
#### List View Mode
38+
39+
Displays filtered items in a list.
40+
41+
#### Table View Mode
42+
43+
Displays filtered items in a table.
44+
45+
#### Displayed Only Loaded Items
46+
47+
Toggles the display of categories or items. When this button is selected, SSMA shows all the items that match the filter criteria and those that were previously loaded. When this button isn't selected, SSMA shows the category folders.
48+
49+
#### Filter
50+
51+
Enter the string you want to use to filter items. For example, to find all available items that contain the string "ID" in the item name, enter the string "ID" in the **Filter** box.
52+
53+
If items match the filter criteria, the categories or items appear as you type the string. To see the matching items, we recommend that you select the **Displayed Only Loaded Items** button.
54+
55+
#### Clear Filter
56+
57+
Clears the **Filter** box.

0 commit comments

Comments
 (0)