laptop and a wrench

不具合

When writing a definition query in ArcGIS Pro on a feature class from a SQL Server database, and the DATEDIFF function is used, the query fails if there are no records returned.

最後に公開された状態: November 14, 2019 ArcGIS Pro
不具合 ID 番号 BUG-000126459
送信されましたOctober 31, 2019
最終更新日May 16, 2025
適用対象ArcGIS Pro
見つかったバージョン2.4.2
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスNon-Reproducible

参考情報

This issue is no longer reproducible. When no records are found, the validation process returns a warning, and that is expected.

対処法

  • Avoid using the DATEDIFF SQL function in the definition query. For example, 'Date<(GETDATE()-1)'.
  • Alternatively, use the same expression in ArcMap instead.

再現の手順

不具合 ID: BUG-000126459

ソフトウェア:

  • ArcGIS Pro

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

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

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

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

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

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

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