<?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: What   field data type do you use for comment fields in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481591#M27401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I almost exclusively use SQL or ArcSDE command-line utilities to create database tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2012 11:35:53 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2012-07-26T11:35:53Z</dc:date>
    <item>
      <title>What   field data type do you use for comment fields</title>
      <link>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481587#M27397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What&amp;nbsp;&amp;nbsp; field data type do you use to store comments ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 13:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481587#M27397</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2012-07-24T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: What   field data type do you use for comment fields</title>
      <link>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481588#M27398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jose,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe for SQL Server, you can use VARCHAR(MAX), NVARCHAR(MAX); for Oracle, you may use VARCHAR2(4000), NVARCHAR2(4000).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See following web help document for the TEXT field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//019v00000002000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//019v00000002000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 16:44:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481588#M27398</guid>
      <dc:creator>BenLin</dc:creator>
      <dc:date>2012-07-24T16:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: What   field data type do you use for comment fields</title>
      <link>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481589#M27399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends on what you want to do with them, and the chracter set in which&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;they've been encoded.&amp;nbsp; While CLOB/NCLOB types may seem attractive, they&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are not nearly as efficent as &lt;N&gt;VARCHAR for most of the functions you would&lt;/N&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;usually want to run on them, and anyone who can't comment in 2000 or 4000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;characters isn't likey to generate a comment you'd want to use anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 18:41:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481589#M27399</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-07-24T18:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: What   field data type do you use for comment fields</title>
      <link>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481590#M27400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you declare a comment field type varchar with ArcCatalog that is pointing to an SDE Oracle 11G database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you create a text with length 2000?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It depends on what you want to do with them, and the chracter set in which&lt;BR /&gt;they've been encoded.&amp;nbsp; While CLOB/NCLOB types may seem attractive, they&lt;BR /&gt;are not nearly as efficent as &lt;N&gt;VARCHAR for most of the functions you would&lt;BR /&gt;usually want to run on them, and anyone who can't comment in 2000 or 4000&lt;BR /&gt;characters isn't likey to generate a comment you'd want to use anyway.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/N&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 11:14:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481590#M27400</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2012-07-26T11:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: What   field data type do you use for comment fields</title>
      <link>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481591#M27401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I almost exclusively use SQL or ArcSDE command-line utilities to create database tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 11:35:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481591#M27401</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-07-26T11:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: What   field data type do you use for comment fields</title>
      <link>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481592#M27402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jose,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What data type gets created in your database will depend on the encoding you are using.&amp;nbsp; If your database is &lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt; using a Unicode character set, you can create a varchar field by choosing Text and specifying a length of up to 4,000 from ArcGIS Desktop. If you go over 4,000, a CLOB field will be created in the database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your database is using a Unicode character set, it will depend on what specific language you are storing. Characters in Latin-based alphabets use 2 bytes, but there are other character sets that use 3 bytes and some use 4 bytes. As long as you stay under 4,000 bytes, though, an nvarchar field will be created in the database. Above that, an NCLOB is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Vince said, though, I would think you'd want to set a comment field at a length lower than 4,000 bytes, but I suppose it depends on your particular application. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 21:07:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/what-field-data-type-do-you-use-for-comment-fields/m-p/481592#M27402</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2012-07-27T21:07:57Z</dc:date>
    </item>
  </channel>
</rss>

