Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Call stored Procedure from external Microsoft SQL Server / Execute Query with Parameters

$
0
0

Hi,

I need to to call stored procedure from external SQL server from AX class. I use OdbcConnection to connect to a SQL Server and I can execute queries or updates with no problem. 

The question is: 

a) Can I execute queries like this "select fieldA,fieldb from mytable where fiedlA=? and fieldb=?" ?

b) Can I execute stored procedures without typing the native SQL code? something like executeStoredProcedure?

thank you


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>