You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/azure-data-studio/extensions/schema-compare-extension.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,16 @@ author: "yualan"
8
8
ms.author: "alayu"
9
9
ms.reviewer: "maghan"
10
10
ms.custom:
11
-
ms.date: 04/15/2022
11
+
ms.date: 5/24/2022
12
12
---
13
13
14
14
# Schema Compare extension
15
15
16
-
The Schema Compare extension provides an easy-to-use experience to compare two database definitions and apply the differences from the source to the target.
16
+
The Schema Compare extension provides an easy-to-use experience to compare two database definitions and apply the differences from the source to the target. This includes active database connections, dacpac files, and [SQL projects](sql-database-project-extension.md).
17
17
18
18
## Features
19
19
20
-
* Compare schemas of two dacpac filesor databases
20
+
* Compare schemas between two dacpac files, databases, or SQL projects
21
21
* View results as a set of actions that must be taken against the target for it to match the source
22
22
* Selectively exclude actions listed in results
23
23
* Set options that control the scope of the comparison
@@ -56,7 +56,17 @@ It can be tedious to manually manage and synchronize different database versions
56
56
57
57
4. Select **Compare** to view the results of the comparison.
58
58
59
+
## Update an existing SQL project from a database
60
+
61
+
1. Install both the **Schema Compare** and **[SQL Database Project](sql-database-project-extension.md)** extensions.
62
+
63
+
2. From a **Database dashboard** select the **Update Project from Database** option in the toolbar.
64
+
65
+
3. Select the existing SQL project and the desired file structure for new objects.
66
+
67
+
4. Choose **View changes in Schema Compare** to review the changes before applying them to the SQL project.
68
+
59
69
## Next steps
60
70
61
-
To learn more about Schema Compare, visit [Use Schema Compare to Compare Different Database Definitions](../../ssdt/how-to-use-schema-compare-to-compare-different-database-definitions.md).
62
-
Report issues and feature requests [here.](https://github.com/microsoft/azuredatastudio/issues)
71
+
-[Learn more about Schema Compare in SSDT](../../ssdt/how-to-use-schema-compare-to-compare-different-database-definitions.md)
72
+
-[Explore SQL database projects in Azure Data Studio](sql-database-project-extension.md)
0 commit comments