laptop and a wrench

不具合

Unable to query REST API when using a referenced service coming from an Oracle database or file geodatabase for a text field; the text is treated as a string, causing the query to fail when attempting to use ST_CODE = 54 without quotes due to ArcGIS Server's standardized queries enforcing SQL-92 syntax.

ArcGIS Pro
不具合 ID 番号 BUG-000174956
送信されましたMarch 11, 2025
最終更新日July 7, 2025
適用対象ArcGIS Pro
見つかったバージョン2.9.12
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0 64 bit
ステータスAs Designed

参考情報

The behavior in which the REST query ST_CODE = 54 fails without quotes but succeeds with ST_CODE = '54' is expected and by design. This is consistent with our official documentation on standardized queries in ArcGIS Server, which enforces SQL-92 syntax for security purposes (see: https://resources.arcgis.com/en/help/main/10.2/index.html#//015400000641000000).

対処法

Immediate Fix:

  • Use: ST_CODE = '54'.
  • Effect: Resolves the error regardless of settings, as validated in the test report.

Long-Term Consistency:

  • Verify Settings: Path: system > properties > update.
  • Confirm: "standardizedQueries": "true".
  • Action: Keep enabled for security.
  • Avoid Disabling: Disabling ("standardizedQueries": "false") allows lax syntax but risks SQL injection.

再現の手順

不具合 ID: BUG-000174956

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動