SAP Knowledge Base Article - Preview

2700753 - Updating image from ESQL/C fails - SDK for SAP ASE


  • ESQLC application fails to upload a large image file
    • ASE sends back error message
      ASE Error
      Odd number of bytes in IMAGE data.
    • Client Cursor error
      CURUPDATE Token (0x85); variable length
      Length [2]: -31081
      Cursor Id [4]: 0x00240001
      Status [1]: CUR_HASARGS (0x01)
      Length of Table Name [1]: 10
      Table Name [10]: "image_test"
      Statement Length [2]: -31099
      Statement [-31099]: *** Error parsing field 'Statement' with 'null' value ***
      >>>>> Exception caught while reading a token: Unrecognized packet type: 0x55



  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • Open Client Client-Library
  • esqlc
  • ctlibrary


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7


KBA , BC-SYB-SDK , SDK , 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.