两个数据库之间比较数据模型的选项?

问题描述:

我需要确定两个数据库之间的数据模型差异:DB1和DB2。我需要一种识别丢失/额外的数据库对象和命名差异的方法。您是否可以为此目的推荐一个存储过程或免费工具?

I need to identify the datamodel differences between 2 databases: DB1 and DB2. I need a way to identify missing/extra database objects and naming differences. Is there a sproc or free tool that you can recommend for this purpose?

要在两个数据库模式之间进行比较,可以使用visual studio2015。请按照以下步骤操作。

To compare between two database schema, you can use visual studio 2015. Please follow the following steps.


  1. 打开Visual Studio 2015 IDE。

  2. 根据下图转到工具菜单。


  1. 然后根据下图选择源和目标数据库。


  1. 然后点击比较按钮并查看根据下图在源数据库和目标数据库之间进行更改。


  1. 单击更新按钮后,您的目标数据库架构将根据源数据库进行更改。

谢谢。