Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit dbb568c

Browse files
committed
added images
1 parent cfd70aa commit dbb568c

10 files changed

Lines changed: 33 additions & 5 deletions

File tree

docs/sql-server/migrate/guides/db2-to-sql-server.md

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,24 @@ To create an assessment, follow these steps:
4848
1. Provide a project name, a location to save your project, and then select a SQL Server migration target from the drop-down.
4949
1. Select **OK**.
5050

51-
:::image type="content" source="media/db2-to-sql-server/ssma-db2-new-project.png" alt-text="Select new SSMA project":::
51+
5252

5353
1. Enter in values for the DB2 connection details on the **Connect to DB2** dialog box.
54-
1. Select the DB2 schema you want to migrate, and then select **Create report**. You can do so by either selecting the schema and then choosing **Create Report** from the navigation bar, or right-clicking your schema and then choosing **Create Report**. This will generate an HTML report .
55-
1. Review the HTML report to identify conversion statistics and any errors or warnings. You can also open the report in Excel to get an inventory of DB2 objects and the effort required to perform schema conversions. The default location for the report is in the report folder within SSMAProjects.
54+
55+
:::image type="content" source="media/db2-to-sql-server/connect-to-db2.png" alt-text="Connect to your DB2 instance":::
56+
57+
58+
1. Right-click the DB2 schema you want to migrate, and then choose **Create report**. This will generate an HTML report .
59+
60+
:::image type="content" source="media/db2-to-sql-server/create-report.png" alt-text="Right-click the schema and choose create report":::
61+
62+
1. Review the HTML report to identify conversion statistics and any errors or warnings. You can also open the report in Excel to get an inventory of DB2 objects and the effort required to perform schema conversions. The default location for the report is in the report folder within SSMAProjects.
63+
5664
For example: `drive:\<username>\Documents\SSMAProjects\MyDB2Migration\report\report_<date>`.
5765

66+
:::image type="content" source="media/db2-to-sql-server/report.png" alt-text="Review the report to identify an errors or warnings":::
67+
68+
5869

5970
### Validate data types
6071

@@ -65,6 +76,8 @@ Validate the default data type mappings and change them based on requirements if
6576
1. Select the **Type mappings** tab.
6677
1. You can change the type mapping for each table by selecting the table in the **DB2 Metadata explorer**.
6778

79+
:::image type="content" source="media/db2-to-sql-server/type-mapping.png" alt-text="Select the schema and then type-mapping":::
80+
6881
### Schema conversion
6982

7083
To convert the schema, follow these steps:
@@ -74,21 +87,36 @@ To convert the schema, follow these steps:
7487
1. Enter connection details to connect to your SQL Server instance.
7588
1. Choose an existing database on the target server, or provide a new name to create a new database.
7689
1. Select **Connect**.
90+
91+
:::image type="content" source="media/db2-to-sql-server/connect-to-sql-server.png" alt-text="Fill in details to connect to SQL Server":::
92+
93+
7794
1. Right-click the schema and then choose **Convert Schema**.
95+
96+
:::image type="content" source="media/db2-to-sql-server/convert-schema.png" alt-text="Right-click the schema and choose convert schema":::
97+
7898
1. After the conversion completes, compare and review the structure of the schema to identify potential problems and address them based on the recommendations.
7999
1. Save the project locally for an offline schema remediation exercise. Select **Save Project** from the **File** menu.
80100

81-
82101
## Migrate
83102

84103
After you have completed assessing your databases and addressing any discrepancies, the next step is to execute the migration process.
85104

86105
To migrate your data, follow these steps:
87106

88-
1. Publish the schema: Right-click the database from the **Databases** node in the **SQL Server Metadata Explorer** and choose **Synchronize with Database**.
107+
1. Publish the schema: Right-click the database from the **Databases** node in the **SQL Server Metadata Explorer** and choose **Synchronize with Database**.
108+
109+
110+
89111
1. Migrate the data: Right-click the schema from the **DB2 Metadata Explorer** and choose **Migrate Data**.
112+
113+
:::image type="content" source="media/db2-to-sql-server/migrate-data.png" alt-text="Right-click the schema and choose migrate data":::
114+
90115
1. Provide connection details for both the DB2 and SQL Server instances.
91116
1. View the **Data Migration report**.
117+
118+
:::image type="content" source="media/db2-to-sql-server/data-migration-report.png" alt-text="Review the data migration report":::
119+
92120
1. Connect to your SQL Server instance by using SQL Server Management Studio and validate the migration by reviewing the data and schema.
93121

94122
## Post-migration
81 KB
Loading
197 KB
Loading
150 KB
Loading
110 KB
Loading
158 KB
Loading
115 KB
Loading
170 KB
Loading
263 KB
Loading
157 KB
Loading

0 commit comments

Comments
 (0)