<?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 How to merge data in ArcSDE using SQL in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320788#M12280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have datasets with one to many relationships to tables.&lt;/P&gt;&lt;P&gt;These identical datasets and tables are in geodatabases by year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to merge the years as the schema is the same every year.&lt;/P&gt;&lt;P&gt;However, I see if I merge them, the object ID changes and this is the only link I have to one of the tables REl_OBJECTID.&lt;/P&gt;&lt;P&gt;The table shows photos uploaded.&lt;/P&gt;&lt;P&gt;Is there any other way I can merge them, or will I just leave them separate for each year?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 13:48:38 GMT</pubDate>
    <dc:creator>RachelS</dc:creator>
    <dc:date>2015-01-13T13:48:38Z</dc:date>
    <item>
      <title>How to merge data in ArcSDE using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320788#M12280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have datasets with one to many relationships to tables.&lt;/P&gt;&lt;P&gt;These identical datasets and tables are in geodatabases by year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to merge the years as the schema is the same every year.&lt;/P&gt;&lt;P&gt;However, I see if I merge them, the object ID changes and this is the only link I have to one of the tables REl_OBJECTID.&lt;/P&gt;&lt;P&gt;The table shows photos uploaded.&lt;/P&gt;&lt;P&gt;Is there any other way I can merge them, or will I just leave them separate for each year?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 13:48:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320788#M12280</guid>
      <dc:creator>RachelS</dc:creator>
      <dc:date>2015-01-13T13:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge data in ArcSDE using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320789#M12281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you try to merge them and are somehow able to maintain the same ObjectIDs, wont the features in the merged data try the get the same ObjectIDs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, I guess in your scenario, it will be difficult to merge the data and maintain the same ObjectIDs...so I'll suggest leaving them separate for each year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 15:06:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320789#M12281</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2015-01-13T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge data in ArcSDE using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320790#M12282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;somehow better to go with any ETL tool such as safe FME or ArcGIS Data Interpolation tool ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 16:03:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320790#M12282</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2015-01-13T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge data in ArcSDE using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320791#M12283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can try this approach:&lt;/P&gt;&lt;P&gt;- On each feature class/table create a new field. Populate this field with using "Field calculator", joining year+objectid (in the related table. ex. 20151234 ,for the 2015 dataset and the objectid 1234); in the related table you can use:&amp;nbsp; year+&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;REl_OBJECTID .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Now you have an aditional field on each featureclass/table you can use to create the relatioship class. If you can identify anyway the year of each feature dataset, sure you can write an python script for automating this task.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Once you have created all the fields in the featureclasses/tables, merge them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;You can rebuild the relationship class using the new fields. Now you can decide If you continue with these fields or... simply, using the new relationship, calculate the "old" REI_OBJECTID field in the table to point to the new OBJECTID values in the feature class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Jesús de Diego&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 17:04:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320791#M12283</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-01-13T17:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge data in ArcSDE using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320792#M12284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you looked into creating a &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00s500000027000000"&gt;Query Layer &lt;/A&gt;within ArcMap? This option would allow you to join multiple feature classes and tables into one view which you could then access in ArcGIS Desktop. They are also dynamic so any updates you make will be visible within the view. You could also look into creating a database view within your RDBMS. I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 19:37:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320792#M12284</guid>
      <dc:creator>AndyOmmen</dc:creator>
      <dc:date>2015-01-13T19:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge data in ArcSDE using SQL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320793#M12285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies,&lt;/P&gt;&lt;P&gt;I followed Jesús Manuel de Diego Alarcón method and it's worked out fine for me.&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 14:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-merge-data-in-arcsde-using-sql/m-p/320793#M12285</guid>
      <dc:creator>RachelS</dc:creator>
      <dc:date>2015-02-04T14:32:07Z</dc:date>
    </item>
  </channel>
</rss>

