<?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: Table import turns my short integer ID field into Object ID field in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543101#M30787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Bob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is your source table in and what is the definition of the List01_Id field?&amp;nbsp; What method are you using in ArcGIS to import it?&amp;nbsp; To what type of geodatabase are you importing it?&amp;nbsp; What version of ArcGIS are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried Import &amp;gt; Table (single) and copy/paste from ArcGIS 10.1, with source tables in a SQL Server database that contained a not null, smallint field.&amp;nbsp; My destination geodatabases were an enterprise geodatabase in SQL Server and a file geodatabase. In all cases, a separate ObjectID field was added to the table; it didn't convert my smallint ID field to an ObjectID.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there are many different source and destination types you could have used, so please respond with the specifics of your case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Kim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2012 00:51:33 GMT</pubDate>
    <dc:creator>KimPeter</dc:creator>
    <dc:date>2012-09-18T00:51:33Z</dc:date>
    <item>
      <title>Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543098#M30784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've noticed when I import a table into a GDB, ArcGIS turns my unique id field&amp;nbsp; into it's Data Type = ObjectID field.&amp;nbsp; Can I prevent this so my fields remains short integer and ArcGIS adds a new field for its Object ID?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 21:30:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543098#M30784</guid>
      <dc:creator>BobPerham</dc:creator>
      <dc:date>2012-09-17T21:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543099#M30785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe ArcMap reserves certain field names for its use. You could rename your field to something that is not on their reserved list?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 23:01:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543099#M30785</guid>
      <dc:creator>PetronilaMandeno</dc:creator>
      <dc:date>2012-09-17T23:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543100#M30786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My field name is called List01_Id.&amp;nbsp; Shouldn't be a reserved word.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 23:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543100#M30786</guid>
      <dc:creator>BobPerham</dc:creator>
      <dc:date>2012-09-17T23:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543101#M30787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Bob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is your source table in and what is the definition of the List01_Id field?&amp;nbsp; What method are you using in ArcGIS to import it?&amp;nbsp; To what type of geodatabase are you importing it?&amp;nbsp; What version of ArcGIS are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried Import &amp;gt; Table (single) and copy/paste from ArcGIS 10.1, with source tables in a SQL Server database that contained a not null, smallint field.&amp;nbsp; My destination geodatabases were an enterprise geodatabase in SQL Server and a file geodatabase. In all cases, a separate ObjectID field was added to the table; it didn't convert my smallint ID field to an ObjectID.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there are many different source and destination types you could have used, so please respond with the specifics of your case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Kim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 00:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543101#M30787</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2012-09-18T00:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543102#M30788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for not giving details.&amp;nbsp; The tables are in a SQL Server db and now that I think about it, it must have happened when I "Enabled Geodatabase" because the tables were already in the db when I turned it into a gdb.&amp;nbsp; The List01_ID field is a Long Integer field.&amp;nbsp; I'm using 10.1.&amp;nbsp; I've attached snapshot of my fields design in Catalog vs SQL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 14:56:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543102#M30788</guid>
      <dc:creator>BobPerham</dc:creator>
      <dc:date>2012-09-18T14:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543103#M30789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Running Enable Enterprise Geodatabase doesn't affect any of your existing tables.&amp;nbsp; Your existing tables are still database tables and are not registered with the geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, in this case, ArcGIS is just recognizing that List01_ID qualifies as an ObjectID field.&amp;nbsp; ArcGIS requires an integer, unique, not null field be present to properly display and query the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does List01_ID have the Identity property set to "yes" in SQL Server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 00:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543103#M30789</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2012-09-21T00:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543104#M30790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does List01_ID have the Identity property set to "yes" in SQL Server?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Identity = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The whole reason I brought this issue up is because I was trying to use the "Table to Domain" tool.&amp;nbsp; I added the List01 table as the input table and tried to add List01_id as the Code Field and it wasn't available (see attach).&amp;nbsp; I assumed it was because the field was being used as an ObjectID field.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 15:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543104#M30790</guid>
      <dc:creator>BobPerham</dc:creator>
      <dc:date>2012-09-21T15:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543105#M30791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Coded value domains can only be used on geodatabase data.&amp;nbsp; But, you're right, even after you register the table with the geodatabase, you won't be able to specify List01_ID as the Code Field because, when you register the table with the geodatabase, ArcGIS will see that the integer field is an Identity column and it WILL convert that field to an ObjectID. The field will not qualify for use as a Code Field.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 17:31:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543105#M30791</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2012-09-21T17:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543106#M30792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So, in this case, ArcGIS is just recognizing that List01_ID qualifies as an ObjectID field.&amp;nbsp; ArcGIS requires an integer, unique, not null field be present to properly display and query the data.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a 10.1 help link that may help explain this behavior that Kim is talking about: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Viewing database data in ArcGIS - 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Viewing_database_data_in_ArcGIS/019v00000006000000/http://"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Viewing_database_data_in_ArcGIS/019v00000006000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 11:07:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543106#M30792</guid>
      <dc:creator>MelissaJarman</dc:creator>
      <dc:date>2012-10-12T11:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table import turns my short integer ID field into Object ID field</title>
      <link>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543107#M30793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS 10.1, I've run into the same problem as kpeter (also SQL Server, Identify column as primary key). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have a workaround that will allow the table to be exported with a new OBJECTID column instead of changing the type of an existing column from integer to OID?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on which geoprocessing method you use to export the table, I've even seen where the original column gets renamed to OBJECTID. That's not cool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 17:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-import-turns-my-short-integer-id-field-into/m-p/543107#M30793</guid>
      <dc:creator>StevePeaslee</dc:creator>
      <dc:date>2012-11-16T17:26:23Z</dc:date>
    </item>
  </channel>
</rss>

