SAP Knowledge Base Article - Preview

2186606 - ISQL: Select for xml truncates data no matter the textsize or results in fatal memory allocation error - SDK for SAP ASE


  • Selecting data in excess of 32 KB from ASE using the "for xml" clause is only returning 32KB of data.
  • When setting textsize large enough with newer ISQL release (SDK 15.7 SP133) fatal memory allocation error can occur.



  • ISQL from SAP SDK 15.7 SP126 (truncates data no matter textsize)
  • ISQL from SAP SDK 15.7 SP133 (textsize works, but if large enough setting like 450000000 can result in error)
  • SAP Adaptive Server Enterprise (ASE) 15.7
  • Microsoft Windows x64 (64-bit)
  • Linux on x86_64 64 bit
    • Redhat EL 3.0, 4.0, 5.0, 6.0, 7.0


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


CTLIB, test size , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.