<?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 Query layer parameter docs — Provide Oracle SQL examples for view_extent and view_scale in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layer-parameter-docs-provide-oracle-sql/idi-p/1271636</link>
    <description>&lt;P&gt;Regarding the &lt;A href="https://pro.arcgis.com/en/pro-app/2.9/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm" target="_self"&gt;query layer parameter&lt;/A&gt; documentation:&lt;/P&gt;&lt;P&gt;There are SQL Server and PostgreSQL examples in the docs for view_extent and view_scale. Could Oracle examples be added too?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;H4&gt;view_extent&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;In SQL Server: &lt;SPAN class=""&gt;WHERE shape.STWithin(geometry::STGeomFromText(::view_extent, 4326)) = 1&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;In PostgreSQL: &lt;SPAN class=""&gt;WHERE ST_Within(shape, ST_GeomFromText(::view_extent, 4326))&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H4&gt;view_scale&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;In SQL Server: &lt;SPAN class=""&gt;WHERE IIF(::view_scale &amp;gt; 100000, &amp;lt;do this&amp;gt;, &amp;lt;do that&amp;gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;In PostgreSQL: &lt;SPAN class=""&gt;WHERE (CASE WHEN ::view_scale &amp;gt;= 100000 THEN &amp;lt;do this&amp;gt; WHEN ::view_scale &amp;gt;= 50000 AND ::view_scale &amp;lt; 100000 THEN &amp;lt;do that&amp;gt; ELSE &amp;lt;do the other thing&amp;gt; END)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Fri, 14 Jun 2024 19:44:47 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-06-14T19:44:47Z</dc:date>
    <item>
      <title>Query layer parameter docs — Provide Oracle SQL examples for view_extent and view_scale</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layer-parameter-docs-provide-oracle-sql/idi-p/1271636</link>
      <description>&lt;P&gt;Regarding the &lt;A href="https://pro.arcgis.com/en/pro-app/2.9/help/mapping/layer-properties/define-parameters-in-a-query-layer.htm" target="_self"&gt;query layer parameter&lt;/A&gt; documentation:&lt;/P&gt;&lt;P&gt;There are SQL Server and PostgreSQL examples in the docs for view_extent and view_scale. Could Oracle examples be added too?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;H4&gt;view_extent&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;In SQL Server: &lt;SPAN class=""&gt;WHERE shape.STWithin(geometry::STGeomFromText(::view_extent, 4326)) = 1&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;In PostgreSQL: &lt;SPAN class=""&gt;WHERE ST_Within(shape, ST_GeomFromText(::view_extent, 4326))&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H4&gt;view_scale&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;In SQL Server: &lt;SPAN class=""&gt;WHERE IIF(::view_scale &amp;gt; 100000, &amp;lt;do this&amp;gt;, &amp;lt;do that&amp;gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;In PostgreSQL: &lt;SPAN class=""&gt;WHERE (CASE WHEN ::view_scale &amp;gt;= 100000 THEN &amp;lt;do this&amp;gt; WHEN ::view_scale &amp;gt;= 50000 AND ::view_scale &amp;lt; 100000 THEN &amp;lt;do that&amp;gt; ELSE &amp;lt;do the other thing&amp;gt; END)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 14 Jun 2024 19:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/query-layer-parameter-docs-provide-oracle-sql/idi-p/1271636</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-06-14T19:44:47Z</dc:date>
    </item>
  </channel>
</rss>

