<?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: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129788#M7480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This problem was not fixed with SP5 for Arc 10 (i.e., an error about an invalid SQL Statement is still generated when you try to sort on a field with &amp;gt;255 characters). Given that one of the reasons I converted many of my shapefiles to geodatabase format was to take advantage of text fields that could store &amp;gt;255 characters I am reluctant to reduce the field sizes back to 255 characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any chance this will be fixed in Arc 10 with the next service pack?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 16:38:48 GMT</pubDate>
    <dc:creator>RobWillson</dc:creator>
    <dc:date>2012-08-28T16:38:48Z</dc:date>
    <item>
      <title>Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129780#M7472</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;Has anyone notice a problem sorting a geodatabase table that is longer than 255 characters? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a rather long field, much larger than 255 characters, which we occasionally use to sort a file geodatabase table.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try in sort this field in both catalog and ArcMap, I get an error screen stating: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"An invalid SQL statement was used. [SELECT REMARKS, OBJECT FROM HI ORDER BY SUBSTRING(REMARKS, 1, 255) ASC]"&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached a screen shot of the error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added other fields at lengths greater than 255 and I receive the same error on any field longer than 255.&amp;nbsp; We did not see this error until moving our process to Arc10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-frank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129780#M7472</guid>
      <dc:creator>FrankLahm_III</dc:creator>
      <dc:date>2011-11-10T20:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129781#M7473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;File Geodatabase did not support ORDER BY until 10.0. Prior to 10.0 the SQL would parse, but no sorting would occur. "SELECT REMARKS, OBJECT FROM HI ORDER BY SUBSTRING(REMARKS, 1, 255) ASC" will not work as SUBSTRING is not supported in the ORDER BY. The ORDER BY should work on fields greater that 255. Have you tried "SELECT REMARKS, OBJECT FROM HI ORDER BY REMARKS&amp;nbsp; ASC"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 21:07:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129781#M7473</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-11-10T21:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129782#M7474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response. We are actually seeing this error when we right click on the column and select sort ascending or sort descending.&amp;nbsp; I must admit I know little about the backend SQL and we are not really doing anything outside of simple queries.&amp;nbsp; Could you expand a bit more on you answer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-f&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 21:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129782#M7474</guid>
      <dc:creator>FrankLahm_III</dc:creator>
      <dc:date>2011-11-10T21:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129783#M7475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Prior to 10.0 ITableSort was used when sorting file geodatabase tables. At 10.0 we added SQL ORDER BY to the file geodatabase SQL and sort in the table grid was modified to use ORDER BY rather than ITableSort as this performs better with RDBMS data sources. This works fine with file geodatabase, but apparently slightly different SQL is used when the field is a text field and exceeds 255 characters. This is logged as NIM063655&amp;nbsp; and was fixed in 10.0 sp3.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 19:13:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129783#M7475</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-11-14T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129784#M7476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Lance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 20:05:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129784#M7476</guid>
      <dc:creator>FrankLahm_III</dc:creator>
      <dc:date>2011-11-15T20:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129785#M7477</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;I installed Service Pack 3 and still have the same sorting problem (I didn't found NIM063655 in the bug fix list). Did I miss something? Is there a workaround for this sorting issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;felix&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 08:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129785#M7477</guid>
      <dc:creator>SystemmanagementGrün_Stadt_Zür</dc:creator>
      <dc:date>2012-02-07T08:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129786#M7478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was told by ESRI support, that they weren't able to fix this bug in SP3, SP4, ... But in ArcMap 10.1 there it should be fixed :mad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;felix&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 12:24:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129786#M7478</guid>
      <dc:creator>FelixSvoboda</dc:creator>
      <dc:date>2012-02-29T12:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129787#M7479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any word on whether this be implemented in SP5 for Arc 10?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 18:42:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129787#M7479</guid>
      <dc:creator>MegSouthee</dc:creator>
      <dc:date>2012-04-20T18:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129788#M7480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This problem was not fixed with SP5 for Arc 10 (i.e., an error about an invalid SQL Statement is still generated when you try to sort on a field with &amp;gt;255 characters). Given that one of the reasons I converted many of my shapefiles to geodatabase format was to take advantage of text fields that could store &amp;gt;255 characters I am reluctant to reduce the field sizes back to 255 characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any chance this will be fixed in Arc 10 with the next service pack?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 16:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129788#M7480</guid>
      <dc:creator>RobWillson</dc:creator>
      <dc:date>2012-08-28T16:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129789#M7481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's fixed in 10.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 17:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129789#M7481</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2012-09-11T17:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129790#M7482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is still not fixed in Desktop 10.1.&amp;nbsp; I have a field with length 297 and it gives this error when sorting by the column heading in ArcMap.&amp;nbsp; The other (shorter) fields sort fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 16:47:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129790#M7482</guid>
      <dc:creator>KevinMayall</dc:creator>
      <dc:date>2013-05-13T16:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Sorting Geodatabase Table on Fields Longer than 255 caracters.</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129791#M7483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tested this with 10.1 and it's working for me. I added a 300 width field and calculated values into it and it sorts without an error. Can you post a copy of your data?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 18:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-sorting-geodatabase-table-on-fields-longer/m-p/129791#M7483</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2013-05-13T18:26:46Z</dc:date>
    </item>
  </channel>
</rss>

