<?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 Creating ESRI_OID in SQL Server in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/creating-esri-oid-in-sql-server/m-p/457012#M26098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read-only access to a non-spatial SQL server. The table I want to use doesn't have object IDs, needed for queries, while another table shows the ESRI_OID field ("shows" as it really isn't in the table). How do I get the ESRI_OID field to show in the table? Also, I'm unable to Register with Geodatabase. If I were to have a new OID field added to the SQL table, what do I tell the database administrator, create a random number field?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 14:59:28 GMT</pubDate>
    <dc:creator>ScottMoyer</dc:creator>
    <dc:date>2015-05-14T14:59:28Z</dc:date>
    <item>
      <title>Creating ESRI_OID in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/creating-esri-oid-in-sql-server/m-p/457012#M26098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read-only access to a non-spatial SQL server. The table I want to use doesn't have object IDs, needed for queries, while another table shows the ESRI_OID field ("shows" as it really isn't in the table). How do I get the ESRI_OID field to show in the table? Also, I'm unable to Register with Geodatabase. If I were to have a new OID field added to the SQL table, what do I tell the database administrator, create a random number field?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 14:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/creating-esri-oid-in-sql-server/m-p/457012#M26098</guid>
      <dc:creator>ScottMoyer</dc:creator>
      <dc:date>2015-05-14T14:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating ESRI_OID in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/creating-esri-oid-in-sql-server/m-p/457013#M26099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a couple tools, or more, in the &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/an-overview-of-the-layers-and-table-views-toolset.htm"&gt;Layers and Table Views toolset &lt;/A&gt;that should work for you:&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/make-query-table.htm"&gt;Make Query Table&lt;/A&gt;, &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/make-query-layer.htm"&gt;Make Query Layer&lt;/A&gt;.&amp;nbsp; These tools will create virtual key fields, i.e., ESRI_OID, for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 20:08:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/creating-esri-oid-in-sql-server/m-p/457013#M26099</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2015-05-14T20:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating ESRI_OID in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/creating-esri-oid-in-sql-server/m-p/457014#M26100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Joshua. I've had only minor success. Make Query Table errored as I believe that I need write access to the table. (I had success on writable tables.) When I employ Make Query Layer in a model, the output isn't recognized, using Get Count for testing. My only success was that I created the ESRI_OID field in ArcMap by Add Query Layer, but then my model, run from ArcMap, still doesn't recognize the query output.&lt;/P&gt;&lt;P&gt;At this point I'm going to have the database administrator add an OID field.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 15:46:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/creating-esri-oid-in-sql-server/m-p/457014#M26100</guid>
      <dc:creator>ScottMoyer</dc:creator>
      <dc:date>2015-05-19T15:46:40Z</dc:date>
    </item>
  </channel>
</rss>

