﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Database Deployment Toolkit (How do I?)  » Problem in deploying data with DDT</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 11:40:49 GMT</lastBuildDate><ttl>20</ttl><item><title>Problem in deploying data with DDT</title><link>http://forum.strataframe.net/FindPost21853.aspx</link><description>I have a project and a table which I'd like to get deployed by the DDT.&lt;/P&gt;&lt;P&gt;If I run the DDT and the target table is empty in the database I get 74 records (that's correct)&lt;BR&gt;If instead the table has records in it (the 74 I just exported) the DDT says he has imported 74 records, but when I see the table actually only 20 exist.&lt;/P&gt;&lt;P&gt;The Deployment data package is configured with the Overwrite option (I expect to rewrite the whole table every time) and the table has a primary key made by two column (this last thing is perhaps the only difference between other tables that are working well)&lt;/P&gt;&lt;P&gt;What can the problem be?</description><pubDate>Tue, 17 Feb 2009 10:12:53 GMT</pubDate><dc:creator>GRocchi</dc:creator></item><item><title>RE: Problem in deploying data with DDT</title><link>http://forum.strataframe.net/FindPost22003.aspx</link><description>Trent posted the new beta build this morning &lt;A href="http://forum.strataframe.net/FindPost21998.aspx"&gt;here&lt;/A&gt;. So if you are still running into this, GRocci, load that, re-generate your DDT package, and let's take another stab at it. :)</description><pubDate>Tue, 17 Feb 2009 10:12:53 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Problem in deploying data with DDT</title><link>http://forum.strataframe.net/FindPost21992.aspx</link><description>[quote][b]Dustin Taylor (02/16/2009)[/b][hr]...We'll be releasing a new beta build within the next few days that will have the new DDT structures...[/quote]&lt;P&gt;I love having new updates down the pipe :P</description><pubDate>Mon, 16 Feb 2009 17:45:06 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Problem in deploying data with DDT</title><link>http://forum.strataframe.net/FindPost21990.aspx</link><description>Oh, trust us, we understand being busy ;).&lt;/P&gt;&lt;P&gt;One thing to check: I imported the table structures in your package file and noticed that neither of your PKs are marked as Updatable (see attatched image).&amp;nbsp; Are these keys both auto-incrimenting? If either or both of those columns are not autoincrimenting, I would try checking that check box and re-deploying the package to see if the problem persists. The issue may be that the DDT thinks it [i]can't[/i] overwrite the values for those PKs and as such isn't overwriting the existing records as it should. &lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/ce18520d-6cde-40ff-ade8-ee7f.png"&gt;&lt;/P&gt;&lt;P&gt;Unfortunately&amp;nbsp;we can't test this definitievely on&amp;nbsp;our&amp;nbsp;development machines at the moment. We've recently updated the structure of the DDT package files and, as such, I can't deploy a DDT package created with the old version&amp;nbsp;:w00t:.&amp;nbsp;We'll be releasing a new beta build within the next few days that will have the new DDT structures, so if the above idea doesn't shed any light on this, we can load that on your end, re-create the package, and then we'll be able to deploy it on our development machines and get a better idea of what is going on.</description><pubDate>Mon, 16 Feb 2009 17:03:09 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Problem in deploying data with DDT</title><link>http://forum.strataframe.net/FindPost21986.aspx</link><description>Sorry for delay, but I'm rather busy at the moment: &lt;/P&gt;&lt;P&gt;Attached is my file: the table of interest is the "CausaliConfigurazioni" Table:&lt;BR&gt;I am sure that the table in my source db has 74 records, when I deploy the data the DDT says "74 records imported" but when I look into the table I find the records to be only 20&lt;/P&gt;&lt;P&gt;Incidentally I noticed that the records are suspiciously the same as if I would&amp;nbsp;try to Insert the records one at a time and if the primary key would be only made of one field(so that some records overwrite each other)&lt;/P&gt;&lt;P&gt;Perhaps I should tell the DDT that the table has 2 fields as Primary key? How can I do this?&lt;/P&gt;&lt;P&gt;Thanks in advance and best regards</description><pubDate>Mon, 16 Feb 2009 10:04:11 GMT</pubDate><dc:creator>GRocchi</dc:creator></item><item><title>RE: Problem in deploying data with DDT</title><link>http://forum.strataframe.net/FindPost21857.aspx</link><description>That sounds strange.&amp;nbsp; If you have the overwrite set, then it should create the records and overwrite any existing PKs that are in the table.&amp;nbsp; However, if there are some constraints that could be associated with the table in question and the records, when added, prevent a constraint error, it could be possible to see something like this.&amp;nbsp; I would be curious to see the package file and deploy it here along with a SQL database that has records in it that reproduces the problem.&amp;nbsp; But the first place I would look would be contraints and then verify that the overwrite is set on the data packages.</description><pubDate>Fri, 06 Feb 2009 09:26:49 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>