Navision and SQL Server

Hi, Could somebody tell me how Attain access’s SQL server ( Connectivity ) ? Thanks in advance garry

Attain access Navision SQL server database using c/odbc.

C/ODBC is a tool used to access the native Navision database from any external application that supports ODBC data sources. It has nothing to do with SQL Server and can’t even be used with the SQL Server Option for Navision. Garry, what do you mean with connectivity?

quote:


It has nothing to do with SQL Server and can’t even be used with the SQL Server Option for Navision


I agree with you when talking about C/ODBC, but the “communication protocol” used by SQL Server is - as far as I know - ODBC, so it’s also used by the Attain-client.

Yes, C/AL connects to SQL via ODBC. I remember, some years back, there was talk about changing this (using some other technology) and thus making the connection faster - don’t know if these plans have been abandoned, though.

Yes Joerg, Navision uses SQL Server’s ODBC driver. But C/ODBC is the proprietary Navision database ODBC driver and thus will have no use on an SQL environment.

Changing it (to oledb, being the only option) would not make the connection or anything else faster. There are no plans to do this.

Thanks everybody, ODBC it is…

Hi, Another question: any idea where is the source ie. DSN is thx in advance garry

Navision does not use DSNs. It builds the connection string internally from the properties you give in the Database Open dialog. It therefore does not rely on the user’s computer being set up with appropriate DSNs.

thx for your help