SAP Knowledge Base Article - Preview

2522811 - 07006: [SAP][ODBC Driver][SQL Anywhere] Cannot convert xxx to varchar - SQL Anywhere


When trying to execute SELECT statement with BIGINT value in WHERE clause, the following message is displayed:
"07006: [SAP][ODBC Driver][SQL Anywhere] Cannot convert 01234567890123456 to varchar"



  • SAP SQL Anywhere 17
    - Sybase 17 ODBC driver
  • SAP SQL Anywhere 16
    - Sybase 16 ODBC driver
  • Microsoft Visual Studio 6
    - RemoteData Control


SAP SQL Anywhere 16.0 ; SAP SQL Anywhere 17.0


MSRDC RemoteData SQA SQL Anywhere 12 BIGINT bigint convert , KBA , BC-SYB-SQA , SQL Anywhere (on premise, on demand) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.