In ArcGIS Pro, using an enterprise geodatabase:
What are the options for dynamically joining from a FC to a related query?
- Use the Add Join GP tool to join to a database view.
- Fields from the joined view are shown in attribute table.
- Use the Add Join GP tool to join to a query layer.
- Fields from the joined query layer are shown in attribute table.
- Use a definition query and a subquery to filter rows.
- Example: EVENT_ID IN (SELECT EVENT_ID FROM …). See #1 in a similar post here.
- No fields from the “joined” subquery are shown in the attribute table.
- The nice thing about this option is that it avoids the Add Join GP tool. In my experience, joins are sometimes buggy in ArcGIS Pro. This approach avoids those issues.
- Use the Add Join GP tool to join to a table that has a definition query.
- Join using SQL in a database view or a query layer.
- Fields from the joined table can be included in the result.
- None of the fields are editable.
Any comments or other options?
Oracle 18c 10.7.1 EGDB.