ODBC – Error – [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error

  Background Continuing to review ODBC API calls via C. Ran into a simple error. Error Message - #1 - COUNT field incorrect or syntax error Error Image Error Text Code Code Snippet TroubleShooting Issue The issue is the custNameDataLen variable. Documentation The CustNameDataLen variable map to the BufferLength variable. Microsoft Documentation Links SQLBindParameter Function … Continue reading ODBC – Error – [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error