Select to view content in your preferred language

Where can you use SQL beyond WHERE clauses in a File Geodatabase?

602
4
12-06-2024 06:33 AM
Labels (1)
AZendel
Frequent Contributor

I just ran across this help topic while researching a related issue: File geodatabases SQL reference. This has a lot of potential to be very handy. Where can you execute these statements that use concepts such as aggregations and joins? Is there somewhere in the Pro interface that I haven't noticed? In some geoprocessing tools? Or only in the FGDB API?

Tags (2)
0 Kudos
4 Replies
Asrujit_SenGupta
MVP Alum

In a View comes to mind immediately: Create Database View (Data Management)

Check this for more uses: SQL reference for query expressions used in ArcGIS

In ArcGIS Pro, SQL expressions can be used in the following tools and locations:


Not sure if all the above are applicable for a File gdb, but this gives you an idea.

JoshuaBixby
MVP Esteemed Contributor

Thorough response, nice.  (Assuming generative AI didn't do it for you, but then maybe I should be impressed if it did)

0 Kudos
Asrujit_SenGupta
MVP Alum

😁Nah, all the info is from the second link directly.

0 Kudos
KenBuja
MVP Esteemed Contributor

You can use these in Arcade functions (Distinct, Filter, GroupBy, etc)

0 Kudos