Red Gate forums :: View topic - Bug? Command-Line and Migration Scripts
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Bug? Command-Line and Migration Scripts

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
CowboyDba



Joined: 12 Jun 2014
Posts: 1

PostPosted: Thu Jun 12, 2014 3:15 pm    Post subject: Bug? Command-Line and Migration Scripts Reply with quote

Using sqlCompare command line and have a migration script folder.

Unfortunately I kep geting the following error:


Error: A duplicate definition was found for the table [dbo].[People]. Ensure
that case sensitivity options are set correctly and all object creation scripts
are valid. If the problem persists, contact our support.


Command being run

Code:

SQLCompare.exe /include="Identical" /include="StaticData" /scripts1="." /server2="PC1" /database2="RedGateAppCI" /synchronize /migrationsfolder=".\Migrations" /scriptsfolderxml=".\ScriptFolderLocation.xml" /scriptFile:"C:\Outfile.sql" /verbose



I'm assuming i may be the case that there is a script called dbo.People in the Tables folder but also a script in the Migrations folder which creates the dbo.People table.

However the GUI appeas to pick this up and deal with it as expected. Confused
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group