<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xml:base="http://www.red-gate.com/MessageBoard/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Red Gate forums: SQL Data Compare 10</title>
 <link>http://www.red-gate.com/MessageBoard/</link>
 <description>Product Support and Discussion</description>
 <language>en</language>
 <copyright>Copyright Red Gate Software Ltd</copyright>
 <managingEditor>internalsupport@red-gate.com</managingEditor>
 <webMaster>internalsupport@red-gate.com</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Mon, 20 May 2013 22:32:51 GMT</lastBuildDate>
 <pubDate>Mon, 20 May 2013 22:32:51 GMT</pubDate>
 <image>
  <url>http://www.red-gate.com/messageboard/templates/subRed/images/logo_phpBB.gif</url>
  <title>Red Gate forums: SQL Data Compare 10</title>
  <link>http://www.red-gate.com/MessageBoard/</link>
 </image>
 <item>
  <title>RE: Updating Data using SQL Data Compare</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61994#61994</link>
  <description>Yes, this is possible.  Once the comparison is complete, ensure that you have unchecked the whole column titled &amp;quot;target only&amp;quot;.  This means that when you deploy the changes then any rows that are only in the target will not be changed or deleted.  But any other rows will be added or updated.</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17135</comments>
  <dc:creator>chriskelly</dc:creator>
  <pubDate>Fri, 17 May 2013 09:21:32 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61994#61994</guid>
 </item>
 <item>
  <title>Updating Data using SQL Data Compare</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61930#61930</link>
  <description>So I am comparing a source and target table that has customer information in it - is there a way to update records that have changed and also insert new customer records?
&lt;br /&gt;

&lt;br /&gt;
Does SQL Data Compare have that functionality?
&lt;br /&gt;

&lt;br /&gt;
Our current customer tables have around 8 million plus records in it - so if there is an easier way to update and insert new records that would be the way to go.
&lt;br /&gt;

&lt;br /&gt;
Anyone have any experience with this?</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17135</comments>
  <dc:creator>srob35</dc:creator>
  <pubDate>Tue, 14 May 2013 21:13:17 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61930#61930</guid>
 </item>
 <item>
  <title>RE: Exclude columns from multiple tables using XML config?</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61813#61813</link>
  <description>Quick update in case other SQL Data Compare users wish to use the EXCLUDECOLUMNS switch in an XML argument file.
&lt;br /&gt;

&lt;br /&gt;
To exclude a column using the xml file, where you have two or more tables whose name includes the same string, the table name needs to be enclosed with the [ ] characters and escaped with the \ character.  Using the example in this forum topic, where you need to exclude the column called &amp;quot;Domain&amp;quot; from a table called &amp;quot;Site&amp;quot; but have other tables whose table name includes the word or characters Site.
&lt;br /&gt;

&lt;br /&gt;
Using this syntax - &amp;lt;excludecolumns&amp;gt;\[Site\]:Domain&amp;lt;/excludecolumns&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
Many Thanks
&lt;br /&gt;
Eddie</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16779</comments>
  <dc:creator>eddie davis</dc:creator>
  <pubDate>Wed, 08 May 2013 14:01:47 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61813#61813</guid>
 </item>
 <item>
  <title>RE: Task cannot be completed - Mapping</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61801#61801</link>
  <description>Glad its all working now!
&lt;br /&gt;

&lt;br /&gt;
Is there anything else you need my help with?</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16984</comments>
  <dc:creator>Anu Deshpande</dc:creator>
  <pubDate>Tue, 07 May 2013 15:54:34 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61801#61801</guid>
 </item>
 <item>
  <title>RE: Sync only new rows in a table</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61715#61715</link>
  <description>Thanks, Brian. We'll investigate a solution along those lines!</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16955</comments>
  <dc:creator>sbacheld</dc:creator>
  <pubDate>Fri, 03 May 2013 04:14:44 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61715#61715</guid>
 </item>
 <item>
  <title>DateTimeOffset support not working</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61649#61649</link>
  <description>I have 2 databases with several tables that contain datetimeoffset fields.  I have emptied one of the databases so that sdc10 will basically be doing a move from one db to the other and the script created by sdc10 fails on a datetime conversion error.  I find it hard to believe that I'm the first person to run into this!
&lt;br /&gt;

&lt;br /&gt;
Here is a sample import row below.  The fields CreatedDateTime and ModifiedDateTime are both datetimeoffset(7) fields.
&lt;br /&gt;

&lt;br /&gt;
INSERT INTO [dbo].[BuildLabels] ([RowID], [ParentRowID], [BuildLabel], [Comments], [SystemLabel], [OwnerID], [CreatedDateTime], [CreatedBy], [ModifiedDateTime], [ModifiedBy], [Active], [rowguid], [LabelState]) VALUES (1, NULL, N'root', N'main root label', 1, N'administrator', '2012-11-12 16:59:01.1745892 +05:30', N'donaldb', '2012-11-12 16:59:01.1745892 +05:30', N'donaldb', 1, '5f2cc758-d832-e211-ad6c-d067e5e5d59c', NULL)
&lt;br /&gt;

&lt;br /&gt;
The exact error in a messagebox titled &amp;quot;SQL Data Compare&amp;quot; is &amp;quot;Error occurred execution synchronization. Conversion failed when converting date and/or time from character string.&amp;quot;
&lt;br /&gt;

&lt;br /&gt;
Thanks,
&lt;br /&gt;
Don</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17001</comments>
  <dc:creator>dbouchard@tricomputer.com</dc:creator>
  <pubDate>Tue, 30 Apr 2013 13:31:22 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61649#61649</guid>
 </item>
 <item>
  <title>RE: Spins infinitely Retrieving schema and Registering Databases</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61612#61612</link>
  <description>@rvaiyapuri,
&lt;br /&gt;

&lt;br /&gt;
I also experienced this and was able to resolve this issue by creating a new project.  My project had other symptoms of corruption, maybe your project has only a minor corruption causing this.  Try creating a new project and see if it loads more quickly.
&lt;br /&gt;

&lt;br /&gt;
Best,
&lt;br /&gt;
Scott</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16820</comments>
  <dc:creator>scotteb@mindspring.com</dc:creator>
  <pubDate>Mon, 29 Apr 2013 12:14:31 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61612#61612</guid>
 </item>
 <item>
  <title>RE: Task cannot be completed - Mapping</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61611#61611</link>
  <description>The project was created and last used on 13 April 2013 on the local computer.  I did create a new project and all is well.
&lt;br /&gt;

&lt;br /&gt;
In fact, it solved another issue which you should be aware of as I saw reports of it on the forum.  When I would load the project, the 'retrieving schema' message would display 100s of times, for 4-5 minutes.  The new project loads immediately.
&lt;br /&gt;

&lt;br /&gt;
Best,
&lt;br /&gt;
Scott</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16984</comments>
  <dc:creator>scotteb@mindspring.com</dc:creator>
  <pubDate>Mon, 29 Apr 2013 12:10:08 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61611#61611</guid>
 </item>
 <item>
  <title>RE: Task cannot be completed - Mapping</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61609#61609</link>
  <description>Many thanks for your post and apologies for inconvenience caused.
&lt;br /&gt;

&lt;br /&gt;
The 'field mapping not valid for matching mapping' error is normally a result of a corrupt project file workaround for that is to create a new project file which you already done.
&lt;br /&gt;

&lt;br /&gt;
Was this project file quite old or was it copied over the network or something?</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16984</comments>
  <dc:creator>Anu Deshpande</dc:creator>
  <pubDate>Mon, 29 Apr 2013 09:46:57 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61609#61609</guid>
 </item>
 <item>
  <title>Task cannot be completed - Mapping</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61601#61601</link>
  <description>Using SQL Data Compare 10.2.3.5 on Win8, I opened an existing projected, that synchronized without error on 13 April 2013.  A table change today was synchronized with SQL Compare.  There are no differences in tables (but some in source db only).
&lt;br /&gt;

&lt;br /&gt;
When I attempt to compare, I am presented with a &amp;quot;Task cannot be completed&amp;quot; dialog with a X next to mapping.  At the bottom of the dialog is the text &amp;quot;FieldMapping not valid for MatchingMapings.&amp;quot;.  
&lt;br /&gt;

&lt;br /&gt;
Of the twenty tables, all but one show a comparison key is set.  The one table is &amp;quot;Not Set&amp;quot; (never has been as I do not wish to compare it).  I have looked over the tables on the Mapping tab and all are mapped correctly.
&lt;br /&gt;

&lt;br /&gt;
I selected only one table, with one column, and receive same error.  BTW, after error dialog closes, all tables are selected for compare - that is bad form; no need to do that if user has made selections.  Additionally, any custom mappings I have made revert to use keys.  But that is not my complaint.
&lt;br /&gt;

&lt;br /&gt;
I'd like to synch these databases, but not sure where to look (wish error message mentioned the able!).  I created another project against two different databases on these servers and was able to compare.
&lt;br /&gt;

&lt;br /&gt;
Best,
&lt;br /&gt;
Scott</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16984</comments>
  <dc:creator>scotteb@mindspring.com</dc:creator>
  <pubDate>Sun, 28 Apr 2013 22:48:20 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61601#61601</guid>
 </item>
 <item>
  <title>RE: Unsupported column type - Empty</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61561#61561</link>
  <description>The /ComparisonKeys switch(/ComparisonKeys:&amp;lt;table or view name as regular expression&amp;gt;:&amp;lt;index name&amp;gt;) allows you to specify a unique index to be used to identify rows for comparison. With /ComparisonKeys you can only specify an index as the comparison key, no other columns can be specified.
&lt;br /&gt;

&lt;br /&gt;
To specify a comparison key that is is not an index, use the GUI to set up and save a project with the settings you require. You can then use that project from the command line with the /Project switch.
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;https://documentation.red-gate.com/display/SDC100/Switches+used+in+the+command+line&quot; target=&quot;_blank&quot;&gt;https://documentation.red-gate.com/display/SDC100/Switches+used+in+the+command+line&lt;/a&gt;</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16965</comments>
  <dc:creator>Manfred.Castro</dc:creator>
  <pubDate>Thu, 25 Apr 2013 18:32:23 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61561#61561</guid>
 </item>
 <item>
  <title>Unsupported column type - Empty</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61556#61556</link>
  <description>Hi All,
&lt;br /&gt;

&lt;br /&gt;
SQL Data Copmare 8.1.0.4
&lt;br /&gt;

&lt;br /&gt;
I try to compare scripts folders and get error &amp;quot;Unsupported column type- Empty&amp;quot;. It means table contains PK with User-Defined Data Type column. This datatype was commited in folder &amp;quot;Types&amp;quot;, but SQL Data Compare doesn't use it for comparing as I understood. 
&lt;br /&gt;
I changed &amp;quot;Comparison key&amp;quot; to &amp;quot;Custom&amp;quot; and set the same columns like has PK and comparing works fine. 
&lt;br /&gt;

&lt;br /&gt;
The question is Can I set Custom Comparison key in the command line for each tables? What command I should use?</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16965</comments>
  <dc:creator>Meriguan</dc:creator>
  <pubDate>Thu, 25 Apr 2013 14:30:44 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61556#61556</guid>
 </item>
 <item>
  <title>RE: Sync only new rows in a table</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61541#61541</link>
  <description>Hi Sean, 
&lt;br /&gt;

&lt;br /&gt;
Unfortunately I can't answer correctly without having the whole schema. SQL Data Compare matches rows based on the primary key or column(s) you choose to use as a row identifier. And it's not state-aware so it can't tell you if there are &amp;quot;new&amp;quot; rows. What you could possibly try is to use a WHERE clause on the tables and views tab and put a selection criteria there -- for instance if your table has a datetime column in it you could sync only records that are newer than 30 days by putting a WHERE clause in to compare only date &amp;gt; GETDATE()-30.</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16955</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Thu, 25 Apr 2013 08:59:20 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61541#61541</guid>
 </item>
 <item>
  <title>Sync only new rows in a table</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61530#61530</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
We are in the process of automating database updates from our dev -&amp;gt; staging -&amp;gt; production process. One of the tables that we want to use sql data compare for has different values for each of the different environments. So it would look something like this:
&lt;br /&gt;

&lt;br /&gt;
dev: name=Row1, timeout=1
&lt;br /&gt;
staging: name=Row1, timeout=10
&lt;br /&gt;
production: name=Row1, timeout=15
&lt;br /&gt;

&lt;br /&gt;
Now, if we add a new row, we want that new row to get synced to all the databases, but would like any existing rows to remain unaffected. Is this possible with sql data compare? We are running this from the command-line if that makes a difference
&lt;br /&gt;

&lt;br /&gt;
Thanks,
&lt;br /&gt;
Sean</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16955</comments>
  <dc:creator>sbacheld</dc:creator>
  <pubDate>Wed, 24 Apr 2013 19:11:10 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61530#61530</guid>
 </item>
 <item>
  <title>RE: Checkbox for ALL</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61441#61441</link>
  <description>That does what a want, Thanks.  
&lt;br /&gt;

&lt;br /&gt;
Just a feature note, the context menu is less intuitive then the ubiquitous checkbox at the top like in SQL Compare uses.  Rarely is it a good idea to implement the same feature differently in your own products.</description>
  <category>SQL Data Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16897</comments>
  <dc:creator>Random Lengths</dc:creator>
  <pubDate>Fri, 19 Apr 2013 15:38:24 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61441#61441</guid>
 </item>
</channel>
</rss>
