SAP Knowledge Base Article - Preview

2779052 - Error 9502 "string data right truncated" is raised when using parameterized prepared statement, univarchar column and statement cache --- SAP ASE


  • Error 9502 message: "Data exception - string data right truncated".
  • Query has search clause on UNIVARCHAR column.
  • Connection property 'DYNAMIC_PREPARE=false'.



  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0


SAP Business Technology Platform 1.0


Error 9502, 9502, 818778, CR 818778, string data right truncated, UNIVARCHAR, univarchar. , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.