To move the data from a query layer into a database or enterprise geodatabase, you can export the query layer to a table or feature class. Define spatial properties for the query layer—such as coordinates, geometry type, and spatial reference—before exporting it to a feature class. The spatial properties you set for the query layer will be used in the feature class.
- Open a map in ArcGIS Pro that contains the spatial query layer you want to export or add the query layer to a new map.
- Right-click the query layer in the Contents pane and select Data on the context menu.
- Click Export Features to export as a feature class, or select Export Table to export the data as a table.
- Specify an output location and name for the new feature class or table.
- Click Run to export.