<?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: Can 10.2 answer Oracle where clause? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-10-2-answer-oracle-where-clause/m-p/193092#M7671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;please read carefully about pros and cons before disabling StandardizedQueries: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//015400000641000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//015400000641000000&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and maybe this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/SQL_injection"&gt;http://en.wikipedia.org/wiki/SQL_injection&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 16:58:12 GMT</pubDate>
    <dc:creator>MarcoBoeringa</dc:creator>
    <dc:date>2014-03-04T16:58:12Z</dc:date>
    <item>
      <title>Can 10.2 answer Oracle where clause?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-10-2-answer-oracle-where-clause/m-p/193090#M7669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I am having trouble implementing some functionality we have on our 9.3 and 10.0 servers with version 10.2 (all internal servers so cannot share URLs)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to run a query against a feature class stored in Oracle (ArcSDE 9.3) with where clause that reads something like this (is generated from a mouse-click):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;sdo_nn(shape, mdsys.sdo_geometry(2001, 81989, mdsys.sdo_point_type(385878.8,247670.9,null),null,null), 'sdo_num_res=1', 1) = 'TRUE'&amp;nbsp; AND&amp;nbsp; sdo_within_distance(shape , mdsys.sdo_geometry(2001, 81989, mdsys.sdo_point_type(385878.8,247670.9, null), null, null),'distance=250 UNIT=M') = 'TRUE'&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We use this to get features that are within certain distance from a user defined (clicked) point in our JavaScript app, it has been much faster than using Esri spatial filters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use this where clause in the HTML interface of query tasks in services directories, it works for the services published from ArcGIS Server 9.3 and 10.0, but for the service at 10.2 i get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;code: 400, message: "Unable to complete operation."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Filip.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 13:10:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-10-2-answer-oracle-where-clause/m-p/193090#M7669</guid>
      <dc:creator>FilipKrál</dc:creator>
      <dc:date>2014-03-03T13:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can 10.2 answer Oracle where clause?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-10-2-answer-oracle-where-clause/m-p/193091#M7670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;starting at 10.2 where-clauses that do not conform to the StandardizedQueries specifications get error out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you really need to use database specifics functions etc. in the where-clause, you need to turn StandardizedQueries off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please read carefully about pros and cons before disabling StandardizedQueries: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.2/index.html#//015400000641000000" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//015400000641000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-10-2-answer-oracle-where-clause/m-p/193091#M7670</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2014-03-04T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can 10.2 answer Oracle where clause?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-10-2-answer-oracle-where-clause/m-p/193092#M7671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;please read carefully about pros and cons before disabling StandardizedQueries: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//015400000641000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//015400000641000000&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and maybe this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/SQL_injection"&gt;http://en.wikipedia.org/wiki/SQL_injection&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 16:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-10-2-answer-oracle-where-clause/m-p/193092#M7671</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-03-04T16:58:12Z</dc:date>
    </item>
  </channel>
</rss>

