<?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: Domains Best Practices in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/1030078#M43106</link>
    <description>&lt;P&gt;Is there much of a performance/storage space hit if the code is a relatively long text string instead of an integer?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 17:20:05 GMT</pubDate>
    <dc:creator>DavidLitke</dc:creator>
    <dc:date>2021-02-24T17:20:05Z</dc:date>
    <item>
      <title>Domains Best Practices</title>
      <link>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/507694#M28786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone put together a best practices for creating and using domains?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 17:15:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/507694#M28786</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2014-10-20T17:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Domains Best Practices</title>
      <link>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/507695#M28787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;471 views and no responses &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt; so here's a specific case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When needing to represent True / False or Yes / No which of the following examples is better from a geodatabase design point of view?&lt;/P&gt;&lt;P&gt;Our database architect hates the option on the right but when looking at the data using a non-esri tool using letters makes it easy to understand without needing to do a database join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store an integer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&amp;nbsp;&amp;nbsp; Store a string and use the first letter&lt;/P&gt;&lt;P&gt;0&amp;nbsp; - 'No'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'N' - 'No'&lt;/P&gt;&lt;P&gt;1&amp;nbsp; - 'Yes'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Y' - 'Yes'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0&amp;nbsp; - 'False'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'F' - 'False'&lt;/P&gt;&lt;P&gt;1&amp;nbsp; - 'True'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'T' - 'True'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 21:47:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/507695#M28787</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2015-04-24T21:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Domains Best Practices</title>
      <link>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/507696#M28788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would argue that coded value domains should in most cases be designed with code=description. So in your case, it would 'Yes'-'Yes', 'No'-'No'. From a computing point of view there are advantages to using integers like 0 and 1, and if it is a subtype field it needs to be an integer field as well. Those are valid arguments for integers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it has been my experience that using code=description avoids a whole lot of oddities that you will otherwise keep running into again and again (e.g. Export to shapefile it is nice to end up with the actual values; ArcGIS Online drop down lists is nice to see the actual values consistently across apps and devices; ArcPad .axf tables is nice to see the actual values; Python cursors is nice to deal with the actual values; etc.... it juts saves you some headaches all across the board.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has a different opinion I would be very interested in learning more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Apr 2015 01:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/507696#M28788</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-04-25T01:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Domains Best Practices</title>
      <link>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/507697#M28789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for best practices as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I generally use code=description format, all text currently. Drop downs for shapefile attributes and survey123 tables are much easier.&amp;nbsp; I have tried using integers but found text is easier, especially when tables get exported to excel for our non-technical staff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One case for using code != description: We have product codes that are not very human readable and they need to match a database we do not have access too. So the code is the complicated jumble of letters, description is the human friendly and easily readable one. We can still export our data or import theirs and run statistics on both sets as a whole.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 19:18:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/507697#M28789</guid>
      <dc:creator>JordanDavis2</dc:creator>
      <dc:date>2020-04-02T19:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Domains Best Practices</title>
      <link>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/1030078#M43106</link>
      <description>&lt;P&gt;Is there much of a performance/storage space hit if the code is a relatively long text string instead of an integer?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 17:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/domains-best-practices/m-p/1030078#M43106</guid>
      <dc:creator>DavidLitke</dc:creator>
      <dc:date>2021-02-24T17:20:05Z</dc:date>
    </item>
  </channel>
</rss>

