<?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 new query layer with parameters in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/new-query-layer-with-parameters/m-p/1631097#M97079</link>
    <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Trying to create a query layer with paramter as explained in&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the sql verify fails due to the double collon :: needed for defining a parameter in arcpro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp;Underlying DBMS error[[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near '::'.]&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2025 14:17:54 GMT</pubDate>
    <dc:creator>mikedav1</dc:creator>
    <dc:date>2025-07-08T14:17:54Z</dc:date>
    <item>
      <title>new query layer with parameters</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/new-query-layer-with-parameters/m-p/1631097#M97079</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Trying to create a query layer with paramter as explained in&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the sql verify fails due to the double collon :: needed for defining a parameter in arcpro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp;Underlying DBMS error[[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near '::'.]&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 14:17:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/new-query-layer-with-parameters/m-p/1631097#M97079</guid>
      <dc:creator>mikedav1</dc:creator>
      <dc:date>2025-07-08T14:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: new query layer with parameters</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/new-query-layer-with-parameters/m-p/1689955#M102308</link>
      <description>&lt;P&gt;Agreed. Yes this resource guide is insufficient and lacking in background information on the proper use of :: since it is not a standard SQL query language. Therefore, I submitted feedback on the article. Here is the reply I received:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"I’m sorry that it wasn’t clear for you. You are correct, the “::” is not standard SQL notation. It is in fact an ArcGIS construct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Range parameters are prefixed by the keyword ::r:. Learn more about range parameters in this section: &lt;A href="https://urldefense.com/v3/__https:/pro.arcgis.com/en/pro-app/3.4/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm*GUID-CDEF0CD3-6B41-4F8E-B053-E6045D153EDC__;Iw!!BFH4GnwD9A!N3ZWYoGpu3T81dDX6lzYI-dmxTwZPWLuCkvxehB2QWWQsA_V4DTtYG2soXroCkww7nNaFMm9bG6AQ5ZuzduDmw$" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/3.4/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm#GUID-CDEF0CD3-6B41-4F8E-B053-E6045D153EDC&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Discrete parameters work with numeric (integer or double), date, or string values and are prefixed by the keyword ::. See this section for information about discrete parameters and how they are used: &lt;A href="https://urldefense.com/v3/__https:/pro.arcgis.com/en/pro-app/3.4/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm*ESRI_SECTION1_DA513455E19946BBBC3053C6263054F3__;Iw!!BFH4GnwD9A!N3ZWYoGpu3T81dDX6lzYI-dmxTwZPWLuCkvxehB2QWWQsA_V4DTtYG2soXroCkww7nNaFMm9bG6AQ5ZoQYq4DQ$" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/3.4/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm#ESRI_SECTION1_DA513455E19946BBBC3053C6263054F3&lt;/A&gt;&amp;nbsp;"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Did they just call out the same documentation I was providing feedback that it was confusing and inadequate? So much for the help. Ugh.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 14:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/new-query-layer-with-parameters/m-p/1689955#M102308</guid>
      <dc:creator>tiffanypuett8</dc:creator>
      <dc:date>2026-03-11T14:48:28Z</dc:date>
    </item>
  </channel>
</rss>

