ODBC data transfer to SQL server

771 views Asked by At

How does the ODBC driver transfer data between an application to MSSQL Server 2005?

Is it serialized?

I'm trying to send data between SQL Server 2005 & MS Dynamics 4.0 but I suspect my data is altered by the ODBC driver in between.

2

There are 2 answers

2
Hassan Syed On BEST ANSWER

Its sent as a wide-character string to SQL server -- i.e., a SQL query batch. No transformation needs to take place. The return data is structured in a protocol called TDS.

I believe if you are using the ASCII functions of the ODBC native client it gets upscalled to wide-character.

1
baldy On

Look at the date formats on the 2 servers, you may have issues with localisation/regional settings