0

I am trying to use the sqlcompare command line utility to compare a local database and a remote database but I am having difficulty doing this.

I would like to specify a connection string or some way to connect to the remote server (Destination)

Here is the command I have so far:

sqlcompare /Database1:RootDev /Database2:RootProd /scriptFile:"_build\changes.sql" /f
4

1 回答 1

1

您将需要以下内容,使用开关 /Server1 和 /Server 2 来指定服务器。

sqlcompare /Server1:local\SQL2008 /Database1:RootDev /Server2:remote\SQL2008 /Database2:RootProd /scriptFile:"_build\changes.sql"

有关文档的完整详细信息

于 2015-01-27T10:42:11.767 回答