Invalid column name 'COLUMN'
msigman
Posts: 11
Running SQL Compare 9 on two SQL Server 2008 databases. I am trying to use the command line. It works fine when comparing, however as soon as I add the /synchronize switch I get these errors:
I can do a synchronization with the UI and it works fine. However it fails on the command line. This is the command line (passwords removed for security):
Registering data sources Creating mappings Comparing Applying Command Line Items Creating SQL Synchronizing databases (from DB1 to DB2) Error: Synchronization of 'qadb01\devdb.Monarch' and 'qadb01.Monarch' failed: Invalid column name 'FAMILY_GUID'. Invalid column name 'FAMILY_GUID'. Invalid column name 'STATE_GUID'. Invalid column name 'STATE_GUID'. Invalid column name 'DIVISION_GUID'. Invalid column name 'DIVISION_GUID'. Invalid object name 'dbo.OBJECT_ID_NUMBERS'.
I can do a synchronization with the UI and it works fine. However it fails on the command line. This is the command line (passwords removed for security):
C:\Program Files (x86)\Red Gate\SQL Compare 9>SQLCOMPARE /synchronize /server1:q adb01\devdb /server2:qadb01 /db1:Monarch /db2:Monarch /include:identical /force /username1:sa /password1:****** /username2:sa /password2:******
Comments
C:\Program Files (x86)\Red Gate\SQL Compare 9>SQLCOMPARE /synchronize /server1:qadb01\devdb /server2:qadb01 /db1:Monarch /db2:Monarch /exclude:identical /force /username1:sa /password1:****** /username2:sa /password2:******