<?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 Query Layer Reassigns Unique ID on Data Export in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/query-layer-reassigns-unique-id-on-data-export/m-p/335218#M19052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a query layer that is coming from SQL Server. The table has a unique ID field that is not sequential; which I am able to use in ArcGIS when setting up the query layer. The issue is that when the data is exported to a feature class ArcGIS makes the field into the ObjectID field (rather than creating a new ObjectID field) and writes over the IDs that my data was using. This makes it almost impossible (without adding another field to my table in the database just to store the original ID) to relate the data back to the original table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to force ArcMap to add a new ObjectID field rather than overwrite my data? Why isn't this the default behavior?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2012 12:03:34 GMT</pubDate>
    <dc:creator>JustinShepard</dc:creator>
    <dc:date>2012-01-23T12:03:34Z</dc:date>
    <item>
      <title>Query Layer Reassigns Unique ID on Data Export</title>
      <link>https://community.esri.com/t5/data-management-questions/query-layer-reassigns-unique-id-on-data-export/m-p/335218#M19052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a query layer that is coming from SQL Server. The table has a unique ID field that is not sequential; which I am able to use in ArcGIS when setting up the query layer. The issue is that when the data is exported to a feature class ArcGIS makes the field into the ObjectID field (rather than creating a new ObjectID field) and writes over the IDs that my data was using. This makes it almost impossible (without adding another field to my table in the database just to store the original ID) to relate the data back to the original table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to force ArcMap to add a new ObjectID field rather than overwrite my data? Why isn't this the default behavior?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 12:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/query-layer-reassigns-unique-id-on-data-export/m-p/335218#M19052</guid>
      <dc:creator>JustinShepard</dc:creator>
      <dc:date>2012-01-23T12:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layer Reassigns Unique ID on Data Export</title>
      <link>https://community.esri.com/t5/data-management-questions/query-layer-reassigns-unique-id-on-data-export/m-p/335219#M19053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I encourage you to contact technical support regarding the question �??Is there a way to force ArcMap to add a new ObjectID field rather than overwrite my data? Why isn't this the default behavior?�?� &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the meantime, one workaround (to add a new ObjectID) could be to export the query layer to a shapefile and then import the shapefile to ArcSDE. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Mandar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 16:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/query-layer-reassigns-unique-id-on-data-export/m-p/335219#M19053</guid>
      <dc:creator>MandarPurohit</dc:creator>
      <dc:date>2012-01-23T16:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layer Reassigns Unique ID on Data Export</title>
      <link>https://community.esri.com/t5/data-management-questions/query-layer-reassigns-unique-id-on-data-export/m-p/335220#M19054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are currently working on a solution to this problem. One possible workaround is to choose another field (or collection of fields) to be used as the Unique Identifier of the query layer when the query layer is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brent&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 16:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/query-layer-reassigns-unique-id-on-data-export/m-p/335220#M19054</guid>
      <dc:creator>BrentPierce</dc:creator>
      <dc:date>2012-01-24T16:43:14Z</dc:date>
    </item>
  </channel>
</rss>

