Incorrect syntax near 'REBUILD'.
When i compare and sync using the GUI Sql Compare. It works fine. But when i use sqlcompare.exe with a argument file then it gives me following error :-
Registering data sources
Applying Command Line Items
Synchronizing databases (from DB1 to DB2)
Error: Synchronization of 'Scripts.Release' and
'servernameremoved.dbnameremoved' failed: Incorrect syntax near
'REBUILD'. Incorrect syntax near the keyword 'with'. If this statement is a
common table expression or an xmlnamespaces clause, the previous statement must
be terminated with a semicolon.
Anyone faced the same problem ?