SAP Knowledge Base Article - Preview

2399106 - sybpydb may raise ProgrammingError when using readinto() method on LOB object in case the Text/Image column contains NULL - SDK for SAP ASE


  • To decode TEXT datetype fields, use the "getlobdata" python method.
  • When the value is NULL, the method raise a ProgrammingError at the first readinto() call.



  • SAP Sybase Software Developers Kit (SDK) 15.7
  • SAP Software Developers Kit (SDK) for Adaptive Server Enterprise (ASE) 16.0
  • Adaptive Server Enterprise extension module for Python
  • Python


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


py, python 2.6, 2.7, 3.1, 3.4, OCS, "SAP ASE", Developer's, CR#802682, CR802682, 802682 , KBA , BC-SYB-SDK , SDK , Bug Filed

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.