<?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: ArcGIS Pro shows SLQ fields as Object ID Type in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1038108#M38722</link>
    <description>&lt;P&gt;I am frustrated with the same problem.&amp;nbsp; If my memory is correct in the old ArcMap it would ask you which field you want as the Unique Identifier, if you did not have one I think there was an option to have it create one.&amp;nbsp; If you don't have a field that has a unique identifier you need to create one in SQL studio first.&amp;nbsp; If you do happen to then from the Map tab select Add Data -&amp;gt; Query Layer.&amp;nbsp; Or drag and drop go to the Properties -&amp;gt; source tab -&amp;gt; click the pencil icon and specify the field you want as the unique identifier.&amp;nbsp; &amp;nbsp;These are the only options I can find, which probably won't solve your problem as it doesn't solve mine.&amp;nbsp; &amp;nbsp;Also if you go and publish the table it completely changes the attributes of the one it "chose" for you.&amp;nbsp; ESRI should not allow it to randomly change my attributes in an SQL file.&amp;nbsp; I feel your pain!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Mar 2021 15:21:39 GMT</pubDate>
    <dc:creator>MatthewDriscoll</dc:creator>
    <dc:date>2021-03-18T15:21:39Z</dc:date>
    <item>
      <title>ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037679#M38651</link>
      <description>&lt;P&gt;I have an odd situation.&amp;nbsp; In ArcGIS Pro 2.7 I have a connection to a SQL Server database.&amp;nbsp; Within this database are tons of tables with tons of fields of all types.&lt;/P&gt;&lt;P&gt;When I make a connection to that database and open the tables in ArcGIS and then look at the design view, it randomly changes numeric fields to Object ID Type.&amp;nbsp; I stumbled upon this issue because when I performed a Table to Table operation, I would lose that field: you can only have 1 object id field in any given ArcGIS database object.&lt;/P&gt;&lt;P&gt;Here is what the field definition shows in Sql Server Management Studio:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoeBorgione_0-1615998851857.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8702iC5945A03BFD02D1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoeBorgione_0-1615998851857.png" alt="JoeBorgione_0-1615998851857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And here are those same fields when shown in the design view in ArcGIS Pro:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoeBorgione_1-1615998946296.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8704i20EE3DDFE9546A48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoeBorgione_1-1615998946296.png" alt="JoeBorgione_1-1615998946296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The APDEFNKEY field does not have unique values in this particular table.&amp;nbsp; This database has many related tables with a field from each with a KEY suffix.&amp;nbsp; For example, in the APDEFN table, the APDEFNKEY value is unique to each record.&amp;nbsp; In the ADDRESS table the ADDRKEY is unique to each record.&lt;/P&gt;&lt;P&gt;Anyone seen this before? Is it a known 'undocumented' feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 16:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037679#M38651</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-17T16:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037734#M38656</link>
      <description>&lt;P&gt;These are tables are not part (i.e. registered) with the Geodatabase, correct?&lt;BR /&gt;&lt;BR /&gt;If not, that is the first not null numeric field. My guess is that it "assumes" that the field is the ObjectId.&lt;BR /&gt;&lt;BR /&gt;Are the tables being added like query layers?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 18:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037734#M38656</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2021-03-17T18:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037756#M38660</link>
      <description>&lt;P&gt;Correct: stand alone SQL instance not even close to a Geodatabase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure I follow you about 'not null numeric field',&lt;/P&gt;&lt;P&gt;I'm adding the tables as tables, not query layers.&amp;nbsp; We are seeing other things like if none of the SQL table fields are numeric (text and dates only) a field called ESRI_OID gets inserted into the Design/Fields view.&amp;nbsp; That I can accept, but the randomizing of numeric to oid is a PITA.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037756#M38660</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-17T19:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037764#M38663</link>
      <description>&lt;P&gt;Take a look at this doc:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/databases/database-data-and-arcgis.htm#ESRI_SECTION1_CA465E7C881F452FB5FB552F4CFFD560" target="_blank"&gt;Database data and ArcGIS—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I understand that there is not a geodatabase and the table is NOT spatial, but I am thinking that the software is treating it the same way when it initially reads the table. Look at #4&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037764#M38663</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2021-03-17T19:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037773#M38664</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/567"&gt;@George_Thompson&lt;/a&gt;&amp;nbsp;; I could examine the tables in SQL and see if the other numeric fields have null values. Truth be told, this database is so poorly designed I'm drowning in it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:23:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037773#M38664</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-17T19:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037777#M38665</link>
      <description>&lt;P&gt;I can understand that. If the DB tables are just a jumble of fields (no logic), then you could see weird behavior. I also think that it is a good idea to have a unique idea field in the tables.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:28:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037777#M38665</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2021-03-17T19:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037783#M38669</link>
      <description>&lt;P&gt;This thing is a circa 1995 Oracle db that got pushed into a SQL server.&amp;nbsp; There are literally hundreds of tables in it and those tables have upwards of 100 fields; most of which are &amp;lt;Null&amp;gt;.&amp;nbsp; Logic? &lt;EM&gt;We don't need no stinkin' logic....&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037783#M38669</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-17T19:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037799#M38673</link>
      <description>&lt;P&gt;Oh boy..........&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 20:00:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1037799#M38673</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2021-03-17T20:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1038108#M38722</link>
      <description>&lt;P&gt;I am frustrated with the same problem.&amp;nbsp; If my memory is correct in the old ArcMap it would ask you which field you want as the Unique Identifier, if you did not have one I think there was an option to have it create one.&amp;nbsp; If you don't have a field that has a unique identifier you need to create one in SQL studio first.&amp;nbsp; If you do happen to then from the Map tab select Add Data -&amp;gt; Query Layer.&amp;nbsp; Or drag and drop go to the Properties -&amp;gt; source tab -&amp;gt; click the pencil icon and specify the field you want as the unique identifier.&amp;nbsp; &amp;nbsp;These are the only options I can find, which probably won't solve your problem as it doesn't solve mine.&amp;nbsp; &amp;nbsp;Also if you go and publish the table it completely changes the attributes of the one it "chose" for you.&amp;nbsp; ESRI should not allow it to randomly change my attributes in an SQL file.&amp;nbsp; I feel your pain!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 15:21:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1038108#M38722</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2021-03-18T15:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro shows SLQ fields as Object ID Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1038137#M38727</link>
      <description>&lt;P&gt;I work strictly in ArcGIS Pro and during this process never did I get a warning to pick a unique identifier field.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 16:02:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-shows-slq-fields-as-object-id-type/m-p/1038137#M38727</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-18T16:02:28Z</dc:date>
    </item>
  </channel>
</rss>

