<?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: SQL query where Alias longer than 64 characters gives error 'Name is empty' in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144719#M51575</link>
    <description>&lt;P&gt;It is a SQL server spatial database.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 16:47:12 GMT</pubDate>
    <dc:creator>DeirdreODriscoll</dc:creator>
    <dc:date>2022-02-16T16:47:12Z</dc:date>
    <item>
      <title>SQL query where Alias longer than 64 characters gives error 'Name is empty'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144556#M51544</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I have an sql database with quiet long table names, many of them are longer than 64 characters which is causing issues. I can add the tables to the map by right clicking and selecting add to map but if I try to add them using the Add Data&amp;gt;Query Layer tool, or if I add them and then try to modify the query using the Query Layer tool I get an error saying 'Name is empty' and the query will not validate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation states that tables names of up to 128 characters from SQL are allowable which would be fine but in this case the limit appears to be 64 characters?&lt;/P&gt;&lt;P&gt;I am using ArcPro 2.9 and SQL Server 14.&lt;/P&gt;&lt;P&gt;Any help gratefully received!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 11:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144556#M51544</guid>
      <dc:creator>DeirdreODriscoll</dc:creator>
      <dc:date>2022-02-16T11:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query where Alias longer than 64 characters gives error 'Name is empty'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144562#M51546</link>
      <description>&lt;P&gt;Not sure this is the issue, but SQL Server 2014 is not supported with ArcGIS Pro 2.9.x:&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/system-requirements/latest/windows/database-requirements-sqlserver.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/system-requirements/latest/windows/database-requirements-sqlserver.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Are there any special characters in the table name?&lt;BR /&gt;&lt;BR /&gt;Is the total length of the fully qualified name longer than 128 characters (i.e. DBNAME.OWNER.TABLE)?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 12:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144562#M51546</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-02-16T12:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query where Alias longer than 64 characters gives error 'Name is empty'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144682#M51568</link>
      <description>&lt;P&gt;Hi George,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for coming back to me I am just checking with the database admin but it says it is version 14 of SQL which if I look online came out in 2017, I will confirm this though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no special characters in the sql database name but when I add the layers into ArcPro a % sign is added to the start of each table name e.g table&amp;nbsp;Admin_MaritimeBdry_International_EMODNet_EEZ becomes DATAMGT_geo_reference.dbo.%Admin_MaritimeBdry_International_EMODNet_EEZ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Database name: DATAMGT_geo_reference&lt;/P&gt;&lt;P&gt;User: dbo&lt;/P&gt;&lt;P&gt;Table Name: %Admin_MaritimeBdry_International_EMODNet_EEZ&lt;/P&gt;&lt;P&gt;This happens with all the layers but the layers with name less than 64 characters that have the % sign still work ok in the Query Layer tool while those that are longer than 64 characters don't work.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 15:54:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144682#M51568</guid>
      <dc:creator>DeirdreODriscoll</dc:creator>
      <dc:date>2022-02-16T15:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query where Alias longer than 64 characters gives error 'Name is empty'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144685#M51569</link>
      <description>&lt;P&gt;Thanks for that additional information. It may be best to work with Technical Support on this.&lt;BR /&gt;&lt;BR /&gt;Is the database a geodatabase or just a SQL Server spatial database (i.e. repository tables)?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 15:59:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144685#M51569</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-02-16T15:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query where Alias longer than 64 characters gives error 'Name is empty'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144719#M51575</link>
      <description>&lt;P&gt;It is a SQL server spatial database.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 16:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144719#M51575</guid>
      <dc:creator>DeirdreODriscoll</dc:creator>
      <dc:date>2022-02-16T16:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query where Alias longer than 64 characters gives error 'Name is empty'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144723#M51576</link>
      <description>&lt;P&gt;Ok, I would contact support on this.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 16:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-query-where-alias-longer-than-64-characters/m-p/1144723#M51576</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-02-16T16:53:59Z</dc:date>
    </item>
  </channel>
</rss>

