What is equivalent to IWorkspace.ExecuteSQL in Pro API?

179
1
Jump to solution
07-02-2019 11:07 AM
TheodoreRakel
Occasional Contributor

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?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RichRuh
Esri Regular Contributor

Hi Ted,

Create a DatabaseClient object, and then call ExecuteStatement()

Let me know if you have any more questions,

--Rich

View solution in original post

0 Kudos
1 Reply
RichRuh
Esri Regular Contributor

Hi Ted,

Create a DatabaseClient object, and then call ExecuteStatement()

Let me know if you have any more questions,

--Rich

View solution in original post

0 Kudos