<?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>idea Definition query should show the descriptive error message from the database, not a generic error message in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/definition-query-should-show-the-descriptive-error/idi-p/1239992</link>
    <description>&lt;P&gt;If I try to create a definition query that has invalid syntax, ArcGIS Pro displays a generic error message:&lt;/P&gt;&lt;PRE&gt;The SQL expression has invalid syntax.&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1670779398122.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58242i1E854C1020E5B2B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1670779398122.png" alt="Bud_0-1670779398122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That generic error message isn't very helpful.&lt;/P&gt;&lt;P&gt;The database is likely throwing a more descriptive error message behind the scenes:&lt;/P&gt;&lt;PRE&gt;ORA-00942: &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;table or view does not exist&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;00942. 00000 - "table or view does not exist"&lt;BR /&gt;*Cause: &lt;BR /&gt;*Action:&lt;BR /&gt;Error at Line: 5 Column: 13&lt;/PRE&gt;&lt;P&gt;SQL Developer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1670779724431.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58244iFE2CDED325BCEBFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_2-1670779724431.png" alt="Bud_2-1670779724431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could ArcGIS Pro be enhanced so that the more descriptive database error messages are displayed in the definition query window? That would help with debugging.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ArcGIS Pro 2.6.8; Oracle 18c 10.7.1 &lt;STRONG&gt;enterprise geodatabase&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;and&lt;/STRONG&gt; ArcGIS Pro 3.0.3;&lt;STRONG&gt; mobile geodatabase&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 00:07:46 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-01-12T00:07:46Z</dc:date>
    <item>
      <title>Definition query should show the descriptive error message from the database, not a generic error message</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/definition-query-should-show-the-descriptive-error/idi-p/1239992</link>
      <description>&lt;P&gt;If I try to create a definition query that has invalid syntax, ArcGIS Pro displays a generic error message:&lt;/P&gt;&lt;PRE&gt;The SQL expression has invalid syntax.&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1670779398122.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58242i1E854C1020E5B2B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1670779398122.png" alt="Bud_0-1670779398122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That generic error message isn't very helpful.&lt;/P&gt;&lt;P&gt;The database is likely throwing a more descriptive error message behind the scenes:&lt;/P&gt;&lt;PRE&gt;ORA-00942: &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;table or view does not exist&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;00942. 00000 - "table or view does not exist"&lt;BR /&gt;*Cause: &lt;BR /&gt;*Action:&lt;BR /&gt;Error at Line: 5 Column: 13&lt;/PRE&gt;&lt;P&gt;SQL Developer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1670779724431.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58244iFE2CDED325BCEBFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_2-1670779724431.png" alt="Bud_2-1670779724431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could ArcGIS Pro be enhanced so that the more descriptive database error messages are displayed in the definition query window? That would help with debugging.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ArcGIS Pro 2.6.8; Oracle 18c 10.7.1 &lt;STRONG&gt;enterprise geodatabase&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;and&lt;/STRONG&gt; ArcGIS Pro 3.0.3;&lt;STRONG&gt; mobile geodatabase&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 00:07:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/definition-query-should-show-the-descriptive-error/idi-p/1239992</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-01-12T00:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Definition query should show the descriptive error message from the database, not a generic error message</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/definition-query-should-show-the-descriptive-error/idc-p/1247509#M22803</link>
      <description>&lt;P&gt;Thanks for the Idea&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've changed the label on this idea to 'Map Authoring' to make sure it gets in front of the correct team.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 00:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/definition-query-should-show-the-descriptive-error/idc-p/1247509#M22803</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2023-01-12T00:10:41Z</dc:date>
    </item>
  </channel>
</rss>

