I'm using Pro 2.3.3 . I'm converting a console app that executed sql against a sde geodatabase using Arc Objects IWorkspace.ExecuteSQL. The goal is to create a table for reporting and analysis. I'm looking in https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets for a snippet to show how to execute sql against a geodatabase. Is it possible to do this using the Pro API?
Hi Ted,
Create a DatabaseClient object, and then call ExecuteStatement().
Let me know if you have any more questions,
--Rich
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.