<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: (again): A tool to transfer the Add\Delete tables to the business table, in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85574#M4929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The "Is Replica" flag is set to True in your most recent set of screenshots.&amp;nbsp; Is the dbo.DEFAULT version of the Communities_Points database set up for two-way replication or one-way replication where it is the child?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is listed when you run the following query against your databases?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;select * from Communities_Points.DBO.versions&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm particularly looking to know if there are any SYNC_SEND_XXX versions which have not been synchronized.&amp;nbsp; You may want to query the GDB_REPLICALOG table as well to see if there are any errors reported in synchronization.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 19:03:03 GMT</pubDate>
    <dc:creator>WilliamCraft</dc:creator>
    <dc:date>2014-02-19T19:03:03Z</dc:date>
    <item>
      <title>A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85571#M4926</link>
      <description>&lt;P&gt;&lt;SPAN&gt;(again): A tool to transfer the Add\Delete tables to the business table,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I???m wondering if there is simple tool that can transfer the Add\Delete tables to the business table. I got the attached model tool but it appears not to do the job&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31580[/ATTACH], [ATTACH=CONFIG]31581[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What other tools might transfer the Add\Delete tables to the business table&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 05:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85571#M4926</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2022-09-13T05:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85572#M4927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: mboeringa2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean with "attached model"? I only see a table... you probably mean you have made some edits in a replica or version, and now wish to transfer these to your main geodatabase and add them to DEFAULT and possibly compress to state 0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other than using the ESRI supplied tools (synchronize replicas, reconciling &amp;amp; posting version changes, and compress your geodatabase), it is unwise to start messing with the tables in SQL Server Management Studio. You may wreck your geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need to see the state of DEFAULT, including all the Adds and Deletes in an application other than ArcGIS / non-ESRI software (e.g. in SQL Server Managament Studio), you can connect to the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//006z0000000q000000"&gt;Versioned View&lt;/A&gt;&lt;SPAN&gt; instead of the base table. It should show you the latest state of DEFAULT including all changes in the Adds and Deletes tables (at least as far as reconciled and posted to DEFAULT, if you don't reconcile and post to DEFAULT, the changes of course won't be visible in DEFAULT).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 15:49:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85572#M4927</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-19T15:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85573#M4928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Jamal, &lt;BR /&gt;&lt;BR /&gt;What do you mean with "attached model"? I only see a table... you probably mean you have made some edits in a replica or version, and now wish to transfer these to your main geodatabase and add them to DEFAULT and possibly compress to state 0?&lt;BR /&gt;&lt;BR /&gt;Other than using the ESRI supplied tools (synchronize replicas, reconciling &amp;amp; posting version changes, and compress your geodatabase), it is unwise to start messing with the tables in SQL Server Management Studio. You may wreck your geodatabase.&lt;BR /&gt;&lt;BR /&gt;If you need to see the state of DEFAULT, including all the Adds and Deletes in an application other than ArcGIS / non-ESRI software (e.g. in SQL Server Managament Studio), you can connect to the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//006z0000000q000000"&gt;Versioned View&lt;/A&gt; instead of the base table. It should show you the latest state of DEFAULT including all changes in the Adds and Deletes tables (at least as far as reconciled and posted to DEFAULT, if you don't reconcile and post to DEFAULT, the changes of course won't be visible in DEFAULT).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry Marco for the confusion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The model I used is now attached&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. My enterprise geodatabase has no versions. It is edited on the default. Then there is no need to reconcile and post or synchronize&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31583[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. I have just visited the enterprise geodatabase via SQL to have a look but not to play with it. I found out that the Add\Delete tables are not transferred to the business tables even after applying the �??compress database�?� tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31584[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What might be the issue? Which tool is supposed to be used to get the data updated in the business table?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 17:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85573#M4928</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-19T17:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85574#M4929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The "Is Replica" flag is set to True in your most recent set of screenshots.&amp;nbsp; Is the dbo.DEFAULT version of the Communities_Points database set up for two-way replication or one-way replication where it is the child?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is listed when you run the following query against your databases?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;select * from Communities_Points.DBO.versions&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm particularly looking to know if there are any SYNC_SEND_XXX versions which have not been synchronized.&amp;nbsp; You may want to query the GDB_REPLICALOG table as well to see if there are any errors reported in synchronization.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 19:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85574#M4929</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-02-19T19:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85575#M4930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: mboeringa2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What might be the issue? Which tool is supposed to be used to get the data updated in the business table?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a quick observation, but based on your first screenshot in the last post, it shows the dataset being a "replica" ("Is Replica" is TRUE).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Are you actually looking in the right database&lt;/SPAN&gt;&lt;SPAN&gt;, and compressing the right one? Shouldn't you be synchronizing with the parent and compress there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other thing: did you actually select "Reconcile and Post with parent version" in the &lt;/SPAN&gt;&lt;STRONG&gt;Synchronize Changes wizard&lt;/STRONG&gt;&lt;SPAN&gt;? If not, the data will &lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt; have been automatically reconciled and posted to your DEFAULT, and you will have to manually reconcile and post the replica version against DEFAULT &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;and subsequently compress&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please also note that even if you don't create additional versions, replication still requires the parent database to be versioned, and a Replica Version will be created upon creating the replica. This is why you need to reconcile and post this replica in the parent database against DEFAULT, and compress, before the edits will show up in the base table.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 19:10:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85575#M4930</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-19T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85576#M4931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Jamal,&lt;BR /&gt;&lt;BR /&gt;Just a quick observation, but based on your first screenshot in the last post, it shows the dataset being a "replica" ("Is Replica" is TRUE).&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Are you actually looking in the right database&lt;/SPAN&gt;, and compressing the right one? Shouldn't you be synchronizing with the parent and compress there?&lt;BR /&gt;&lt;BR /&gt;Other thing: did you actually select "Reconcile and Post with parent version" in the &lt;STRONG&gt;Synchronize Changes wizard&lt;/STRONG&gt;? If not, the data will &lt;STRONG&gt;not&lt;/STRONG&gt; have been automatically reconciled and posted to your DEFAULT, and you will have to manually reconcile and post the replica version against DEFAULT &lt;SPAN style="font-style:italic;"&gt;and subsequently compress&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;Please also note that even if you don't create additional versions, replication still requires the parent database to be versioned, and a Replica Version will be created upon creating the replica. This is why you need to reconcile and post this replica in the parent database against DEFAULT, and compress, before the edits will show up in the base table.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much William and Marco for the help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All what I wanted is to have tools that can transfer the updates stored on the Add\Delete tables to the physical (business).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32046[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do the tools depicted in the screenshot below can transfer the values stored in the Add\Delete tables to the business table?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32048[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 17:35:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85576#M4931</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2014-03-08T17:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85577#M4932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crafty762&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Do the tools depicted in the screenshot below can transfer the values stored in the Add\Delete tables to the business table?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Compress GP tool you show in your model is responsible for moving rows from the A and D tables into the base table, assuming that no child versions reference the state IDs of those particular rows.&amp;nbsp; Reconciling and posting beforehand (which you've correctly delineated in your model) is what moves your state ID pointers in the geodatabase.&amp;nbsp; That is why reconciling, posting, and compressing are such critical parts of the geodatabase maintenance process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 18:38:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85577#M4932</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-03-08T18:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85578#M4933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The Compress GP tool you show in your model is responsible for moving rows from the A and D tables into the base table, assuming that no child versions reference the state IDs of those particular rows.&amp;nbsp; Reconciling and posting beforehand (which you've correctly delineated in your model) is what moves your state ID pointers in the geodatabase.&amp;nbsp; That is why reconciling, posting, and compressing are such critical parts of the geodatabase maintenance process.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks William.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sure, the �??reconcile versions�?� does transfer the updates from the parent to child and from child to parent (if the �??post versions after reconcile�?� is checked).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32052[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, being the updates are reflected in the sde.default and its versions by the �??reconcile version�?� tool, the �??communities�?� in the SQL server doesn�??t match the one on the ArcGIS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Number of records of the �??communities�?� in the SQL is 781&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Number of records of the �??communities�?� in the ArcGIS is 788&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32051[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which tools can be used to have Number of records of the �??communities�?� in the SQL and in ArcGIS equal?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 19:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85578#M4933</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2014-03-08T19:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85579#M4934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crafty762&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please post the results from the following query against your geodatabase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;select * from Communities_Points.DBO.versions&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If everything has been reconciled and posted, then compressed, I agree that the base table should match what's in SDE.DEFAULT (or the versioned view of the SDE.DEFAULT as Marco mentions above) in terms of record count.&amp;nbsp; It feels like something else is locking a particular state and preventing its edits from being moved from the delta tables to base.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 19:26:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85579#M4934</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-03-08T19:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85580#M4935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Now, being the updates are reflected in the sde.default and its versions by the �??reconcile version�?� tool, the �??communities�?� in the SQL server doesn�??t match the one on the ArcGIS&lt;BR /&gt;&lt;BR /&gt;Number of records of the �??communities�?� in the SQL is 781&lt;BR /&gt;Number of records of the �??communities�?� in the ArcGIS is 788&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Which tools can be used to have Number of records of the �??communities�?� in the SQL and in ArcGIS equal?&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That process is carried out by the Compress operation, step 2 in your ModelBuilder model. If the Compress failed to do that, than there are still versions or replicas (which as William correctly stated are also technically versions) that haven't been reconciled &amp;amp; posted properly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 19:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85580#M4935</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-03-08T19:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85581#M4936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That process is carried out by the Compress operation, step 2 in your ModelBuilder model. If the Compress failed to do that, than there are still versions or replicas (which as William correctly stated are also technically versions) that haven't been reconciled &amp;amp; posted properly.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you guys for the massive help and support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid the issue of reconcile\post, I have created *.mdf geodatabase (M.mdf) that contains one layer (A). Before editing the layer A, there was no Add\Delete tables for the A layer in the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32815[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the A layer is edited. Two features are deleted and three are added. These two transactions are recorded in the add\delete tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32816[/ATTACH], [ATTACH=CONFIG]32817[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next, I applied the model that contains compress, rebuild indexes and analyze datasets but the add\delete tables still keep the added and deleted values and this should affect the performance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32818[/ATTACH], [ATTACH=CONFIG]32819[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then with which tools the values kept in the add\delete tables are transferred to the business table so that the add\deletes tables get empty?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:48:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85581#M4936</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-04-04T17:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85582#M4937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are there other connections to the geodatabase besides the one from which you're attempting compress?&amp;nbsp; Client connections can create state locks and therefore prevent records from A &amp;amp; D tables getting written to base.&amp;nbsp; When you run compress, please ensure there are no other connections.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 18:00:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85582#M4937</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-04-04T18:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85583#M4938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are there other connections to the geodatabase besides the one from which you're attempting compress?&amp;nbsp; Client connections can create state locks and therefore prevent records from A &amp;amp; D tables getting written to base.&amp;nbsp; When you run compress, please ensure there are no other connections.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks William.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The screenshots show what I have as versions, connections and locks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32821[/ATTACH], [ATTACH=CONFIG]32822[/ATTACH], [ATTACH=CONFIG]32823[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What other issues should I check?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 18:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85583#M4938</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-04-04T18:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85584#M4939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let's try this... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please post the results of the following query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;SELECT * FROM DBO.VERSIONS;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am curious to know the state ID of your DEFAULT version.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, please post the results of the DIAGNOSE_METADATA and DIAGNOSE_TABLES commands.&amp;nbsp; Run the DIAGNOSE_TABLES command on the entire geodatabase by setting the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;-V&lt;/SPAN&gt;&lt;SPAN&gt; parameter to ALL and leaving out the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;-r&lt;/SPAN&gt;&lt;SPAN&gt; parameter.&amp;nbsp; Below is the syntax for both commands:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdegdbrepair -o diagnose_metadata -d &amp;lt;{ORACLE10G|ORACLE11G|SQLSERVER|DB2|DB2ZOS|INFORMIX|POSTGRESQL}&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[-H &amp;lt;home_directory&amp;gt;] [-u &amp;lt;ArcSDE_admin_user&amp;gt;] [-p &amp;lt;ArcSDE_admin_password&amp;gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[-D &amp;lt;database_name&amp;gt;] [-s &amp;lt;server_name&amp;gt;] [-i &amp;lt;master_geodatabase_service&amp;gt;:&amp;lt;user_schema&amp;gt;] [-q]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdegdbrepair -o diagnose_tables -d &amp;lt;{ORACLE10G|ORACLE11G|SQLSERVER|DB2|DB2ZOS|INFORMIX|POSTGRESQL}&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[-r versioned table name | file=&amp;lt;table_list&amp;gt;] [-V {ALL | NONE | &amp;lt;version_name&amp;gt;} | STATE:&amp;lt;state_id&amp;gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[-H &amp;lt;home_directory&amp;gt;] [-u &amp;lt;ArcSDE_admin_user&amp;gt;] [-p &amp;lt;ArcSDE_admin_password&amp;gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[-D &amp;lt;database_name&amp;gt;] [-s &amp;lt;server_name&amp;gt;] [-i &amp;lt;master_geodatabase_service&amp;gt;:&amp;lt;user_schema&amp;gt;] [-q]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If no issues come back from these commands, then it may be time to open an Esri ticket to understand why your records won't move to the business table.&amp;nbsp; Let me know the results, thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 18:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85584#M4939</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-04-04T18:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85585#M4940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: asrujit&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the screen shots I can see that you are running the Model from the ArcMap interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Did you save the edits and stop editing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Try to close the ArcMap after editing and then run the Model from ArcCatalog. Does this help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You must understand that just running the compress will not push all records from the delta tables to the Base table. There should be no one editing the data, when you are attempting the compress if you want a "full compress".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 22:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85585#M4940</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-04-04T22:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85586#M4941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;From the screen shots I can see that you are running the Model from the ArcMap interface.&lt;BR /&gt;&lt;BR /&gt;1) Did you save the edits and stop editing?&lt;BR /&gt;2) Try to close the ArcMap after editing and then run the Model from ArcCatalog. Does this help?&lt;BR /&gt;&lt;BR /&gt;You must understand that just running the compress will not push all records from the delta tables to the Base table. There should be no one editing the data, when you are attempting the compress if you want a "full compress".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks William and Asrujit,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perfect Asrujit�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that I need to save the edit, to close the ArcMap and next to apply the �??compress�?� tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The add\delete tables get empty and the business table is updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??ll be reporting if any failure happens in the future with this approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 16:40:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85586#M4941</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2014-04-05T16:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85587#M4942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Clip_324.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/124324_Clip_324.jpg" style="width: 620px; height: 328px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:17:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85587#M4942</guid>
      <dc:creator>TimothyHales</dc:creator>
      <dc:date>2015-08-28T19:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85588#M4943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Clip_313.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/124331_Clip_313.jpg" style="width: 620px; height: 361px;" /&gt;&lt;IMG alt="Clip_318.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/124332_Clip_318.jpg" style="width: 620px; height: 498px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:18:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85588#M4943</guid>
      <dc:creator>TimothyHales</dc:creator>
      <dc:date>2015-08-28T19:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85589#M4944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Clip_106.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/124333_Clip_106.jpg" style="width: 620px; height: 408px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:19:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85589#M4944</guid>
      <dc:creator>TimothyHales</dc:creator>
      <dc:date>2015-08-28T19:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: (again): A tool to transfer the Add\Delete tables to the business table,</title>
      <link>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85590#M4945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Images from the original question&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_78.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/124334_Clip_78.jpg" style="width: 620px; height: 453px;" /&gt;&lt;IMG alt="Clip_79.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/124335_Clip_79.jpg" style="width: 620px; height: 444px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:21:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/a-tool-to-transfer-the-add-delete-tables-to-the/m-p/85590#M4945</guid>
      <dc:creator>TimothyHales</dc:creator>
      <dc:date>2015-08-28T19:21:54Z</dc:date>
    </item>
  </channel>
</rss>

