Using ODBC in Microsoft Dynamics AX 2012
Here’s an example on how to use the OdbcConnection class to connect to an external database in X++. Related & Recommended Content How to: Connect to an External Database from X++ Code [AX 2012] Executing direct SQL statements