Nicholas Nicholas - 1 year ago 182
SQL Question

How do I access Microsoft SQL Server from Matlab using ODBC?

I built a data source from Microsoft SQL Server in ODBC and attempted to connect to the data source using Database Explorer in Matlab, however, I got the error "[Microsoft][ODBC Driver Manager] Invalid string or buffer length". Can anyone help?

enter image description here

Answer Source

I found a link to this error on the MathWorks site.

If you receive this message you may be using the wrong driver. For nearly all databases, you must use JDBC drivers with 64-bit machines.

This information can be found in the documentation:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download