SAP Knowledge Base Article - Preview

1954390 - sp_iqtable gets error SQLCODE=-638 when the table has the comment which length over 128 bytes


  • SAP IQ can add the comment to table by using COMMENT statement.
  • If table 's comment length is over 128 bytes, then sp_iqtable gets error SQLCODE=-638.

    Msg 9502, Level 16, State 0:
    SQL Anywhere Error -638: Right truncation of string data



  • SAP IQ 15.2 and later
  • SAP IQ 16.0
  • SAP IQ 16.1


SAP IQ 16.0 ; SAP IQ 16.1 ; SAP Sybase IQ 15.2 ; SAP Sybase IQ 15.4


STRING_RTRUNCATION, CR650418 , 128 bytes, 650418 , KBA , BC-SYB-IQ , Sybase IQ , 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.