I need to pull data from a single table stored in a MSSQL database. The data then gets stored in a staging table in AX, from where it is processed according to the business logic.
Performance is a key factor in this project.
Now I was doing some research of what are the possibilities to retrieve data from an MSSQL database with X++ code and found following blog:
Connecting to Databases through X++
Basically there are different ways which can be used for this endeavour:
- ODBC - Open Data Base Connectivity
- OLEDB - Object Linking and Embedding
- ADO - ActiveX Data Objects
- Connection Class
Now I was hoping that someone could give input of which one is preferrable and why (especially in regards to performance).
Any input is appreciated.