<?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: Okay to use OBJECTID field for relating tables?  Or use GUID? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607614#M34207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Attribute Assistant to do the auto numbering.&amp;nbsp; It comes as part of the Local Government Information Model (LGIM) templates like the &lt;A href="http://solutions.arcgis.com/local-government/help/address-management/"&gt;Address Data Management&lt;/A&gt; template (you don't need to the the LGIM).&amp;nbsp; To create an auto increment number use the Attribute Assistant toolbar, the GenerateID table and DynamicValue table.&amp;nbsp; Press the download button to get to the link to download it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After extracting the files double click the esriAddin files for Attribute Assistant and Address Management to install them while ArcMap is closed.&amp;nbsp; In the GenerateID table you add a row with the feature class name, the current number of the sequence in your table.&amp;nbsp; Use 0 if you are starting with nothing numbered, but this only works for blank feature classes/tables.&amp;nbsp; Use the last existing number of an existing sequenced field if it already has records (see the &lt;A _jive_internal="true" href="https://community.esri.com/message/219077#219077"&gt;autoincrement calculation&lt;/A&gt; to initialize an existing long field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;OBJECTID *&lt;/TD&gt;&lt;TD&gt;Sequence Name&lt;/TD&gt;&lt;TD&gt;Sequence Counter&lt;/TD&gt;&lt;TD&gt;Interval Value&lt;/TD&gt;&lt;TD&gt;Comments&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;WHYDRANT&lt;/TD&gt;&lt;TD&gt;44448&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&amp;lt;Null&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the DynamicValue table you enter the feature class/table name holding the feature class name (WHYDRANT), the field to be incremented (FACILITYID), the Value Method (GENERATE_ID), a Value string (WHYDRANT|0|[seq] - meaning increment a normal number with no leading zeros stored in the WHYDRANT feature class), and make On Create True and all other options false.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;OBJECTID *&lt;/TD&gt;&lt;TD&gt;Table Name&lt;/TD&gt;&lt;TD&gt;Field Name&lt;/TD&gt;&lt;TD&gt;Value Method&lt;/TD&gt;&lt;TD&gt;Value Info&lt;/TD&gt;&lt;TD&gt;On Create&lt;/TD&gt;&lt;TD&gt;On Change (Attribute)&lt;/TD&gt;&lt;TD&gt;On Change (Geometry)&lt;/TD&gt;&lt;TD&gt;Manual Only&lt;/TD&gt;&lt;TD&gt;Rule Weight&lt;/TD&gt;&lt;TD&gt;Comments&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;147&lt;/TD&gt;&lt;TD&gt;wHydrant&lt;/TD&gt;&lt;TD&gt;FACILITYID&lt;/TD&gt;&lt;TD&gt;GENERATE_ID&lt;/TD&gt;&lt;TD&gt;WHYDRANT|0|[seq]&lt;/TD&gt;&lt;TD&gt;True&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;&amp;lt;Null&amp;gt;&lt;/TD&gt;&lt;TD&gt;&amp;lt;Null&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add both of these tables to your map from the directory you extracted it to in the \AddressDataManagementLG\MapsandGeodatabase\LocalGovernment.gdb.&amp;nbsp; Also add the feature class (like wHydrant under the WaterDistribution dataset).&amp;nbsp; Now add the Attribute Assistant toolbar (right click toolbar area and choose Attribute Assistant) and make sure that the first button is active (the red exclamation mark in the icon disappears).&amp;nbsp; Add a new feature and notice the next number in the series for your field was added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2015 23:55:59 GMT</pubDate>
    <dc:creator>RichardFairhurst</dc:creator>
    <dc:date>2015-04-17T23:55:59Z</dc:date>
    <item>
      <title>Okay to use OBJECTID field for relating tables?  Or use GUID?</title>
      <link>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607610#M34203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to make a geodatabase that I can also edit within Access.&amp;nbsp; Typically when I've built databases in excel I've used autonumber field to create a uniqueID for each row and then used unique ids for relating tables together. I am now trying to build this is a database so I can view the data in ArcGIS but do most of the editing in Microsoft Access.&amp;nbsp; When I bring the tables into the geodatabes the unique id (which is an autonumber in Access) automatically becomes the ObjectID in ArcGIS.&amp;nbsp; This is fine except I'm wondering if it is okay to be using the ObjectID field to be relating relational tables or if I should be using a seperate GUID field instead and if so how do I set up a GUID so it automatically generates a unique id in ArcGIS and/or Microsoft Access. I've never used GUIDs before so I'm not sure how to best approach using them for this problem (if in fact they do work for this specific task)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The attached pic shows how my tables are set up in Microsoft Access using unqiue ids with autonumber format in Microsoft Access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 22:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607610#M34203</guid>
      <dc:creator>KarlZimmer</dc:creator>
      <dc:date>2011-10-06T22:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Okay to use OBJECTID field for relating tables?  Or use GUID?</title>
      <link>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607611#M34204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use an integer column, but not the objectid.&amp;nbsp; Don't use a GUID unless you *really* need&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;certified uniqueness, because the keys are scrambled in a way that provides poor performance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for parallel join operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 22:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607611#M34204</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-10-06T22:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Okay to use OBJECTID field for relating tables?  Or use GUID?</title>
      <link>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607612#M34205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the advice.&amp;nbsp; I'll use an integer field instead of OBJECTID or GUID. Just one further question...is there a way or code that I can use to autonumber the integer field? In Access it only lets you have one autonumber per table so I'm not sure how best to ensure I have a unique id in the integer field I create, without the data entry person having to manually enter one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 13:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607612#M34205</guid>
      <dc:creator>KarlZimmer</dc:creator>
      <dc:date>2011-10-07T13:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Okay to use OBJECTID field for relating tables?  Or use GUID?</title>
      <link>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607613#M34206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Best practice is to leave the OBJECTID alone; if you move up to a real RDBMS and ArcSDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;technology, you'll need to adhere to this guidance more closely.&amp;nbsp; The same goes with GUIDs --&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;they only impact performance significantly when you venture into the "large" table range&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(hundreds of thousands to tens of millions of rows).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keep in mind that personal geodatabases are deprecated, and will not be supported by &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;64-bit ArcGIS 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2011 22:34:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607613#M34206</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-10-09T22:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Okay to use OBJECTID field for relating tables?  Or use GUID?</title>
      <link>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607614#M34207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Attribute Assistant to do the auto numbering.&amp;nbsp; It comes as part of the Local Government Information Model (LGIM) templates like the &lt;A href="http://solutions.arcgis.com/local-government/help/address-management/"&gt;Address Data Management&lt;/A&gt; template (you don't need to the the LGIM).&amp;nbsp; To create an auto increment number use the Attribute Assistant toolbar, the GenerateID table and DynamicValue table.&amp;nbsp; Press the download button to get to the link to download it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After extracting the files double click the esriAddin files for Attribute Assistant and Address Management to install them while ArcMap is closed.&amp;nbsp; In the GenerateID table you add a row with the feature class name, the current number of the sequence in your table.&amp;nbsp; Use 0 if you are starting with nothing numbered, but this only works for blank feature classes/tables.&amp;nbsp; Use the last existing number of an existing sequenced field if it already has records (see the &lt;A _jive_internal="true" href="https://community.esri.com/message/219077#219077"&gt;autoincrement calculation&lt;/A&gt; to initialize an existing long field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;OBJECTID *&lt;/TD&gt;&lt;TD&gt;Sequence Name&lt;/TD&gt;&lt;TD&gt;Sequence Counter&lt;/TD&gt;&lt;TD&gt;Interval Value&lt;/TD&gt;&lt;TD&gt;Comments&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;WHYDRANT&lt;/TD&gt;&lt;TD&gt;44448&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&amp;lt;Null&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the DynamicValue table you enter the feature class/table name holding the feature class name (WHYDRANT), the field to be incremented (FACILITYID), the Value Method (GENERATE_ID), a Value string (WHYDRANT|0|[seq] - meaning increment a normal number with no leading zeros stored in the WHYDRANT feature class), and make On Create True and all other options false.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;OBJECTID *&lt;/TD&gt;&lt;TD&gt;Table Name&lt;/TD&gt;&lt;TD&gt;Field Name&lt;/TD&gt;&lt;TD&gt;Value Method&lt;/TD&gt;&lt;TD&gt;Value Info&lt;/TD&gt;&lt;TD&gt;On Create&lt;/TD&gt;&lt;TD&gt;On Change (Attribute)&lt;/TD&gt;&lt;TD&gt;On Change (Geometry)&lt;/TD&gt;&lt;TD&gt;Manual Only&lt;/TD&gt;&lt;TD&gt;Rule Weight&lt;/TD&gt;&lt;TD&gt;Comments&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;147&lt;/TD&gt;&lt;TD&gt;wHydrant&lt;/TD&gt;&lt;TD&gt;FACILITYID&lt;/TD&gt;&lt;TD&gt;GENERATE_ID&lt;/TD&gt;&lt;TD&gt;WHYDRANT|0|[seq]&lt;/TD&gt;&lt;TD&gt;True&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;&amp;lt;Null&amp;gt;&lt;/TD&gt;&lt;TD&gt;&amp;lt;Null&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add both of these tables to your map from the directory you extracted it to in the \AddressDataManagementLG\MapsandGeodatabase\LocalGovernment.gdb.&amp;nbsp; Also add the feature class (like wHydrant under the WaterDistribution dataset).&amp;nbsp; Now add the Attribute Assistant toolbar (right click toolbar area and choose Attribute Assistant) and make sure that the first button is active (the red exclamation mark in the icon disappears).&amp;nbsp; Add a new feature and notice the next number in the series for your field was added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 23:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/okay-to-use-objectid-field-for-relating-tables-or/m-p/607614#M34207</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2015-04-17T23:55:59Z</dc:date>
    </item>
  </channel>
</rss>

