laptop and a wrench

Bug

Great Queries by Select By Attributes doesn't work with ORACLE data, but works with fGDB and SQL Server.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM031527
SubmittedJanuary 23, 2008
Last ModifiedApril 28, 2025
Applies toNo Product Found
Version found9.2
StatusKnown Limit

Additional Information

No Public Explanation

Workaround

Modify the where clause for your oracle case to use nested queries or joins...Joins would be the fastest - "or" and "in" clauses are normally much slower.Examples:select * from user.Parcels where (PARCEL_ID in (1...1000) orPARCEL_ID in (1001...2000) )=================(select ... from ... where PARCEL_ID in (1, 2, ... 1000) )UNION(select ... from ... where PARCEL_ID in (1001, 1002, ... 2000))...UNION(select ... from ... where PARCEL_ID in (N, N+1, ... M)=================You can use ArcObjects (IDatabaseConnectionInfo2.ConnectionDBMS Property) to determine the type of GDB connected to if needed.

Steps to Reproduce

Bug ID: NIM031527

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options