SAP Knowledge Base Article - Preview

1946439 - In PowerBuilder, retrieving a datawindow using stored procedure causing 'String data, right truncation' error

Symptom

Application migrated from PowerBuilder 11.5 to PowerBuilder 12.5.1 and connecting to Microsoft SQL Server using ODBC. 

When retrieving a  DataWindow, that is calling a stored procedure, using a datetime argument causes the application to stop working.     

A ODBC trace shows the following error:

SDWORD -3
WCHAR * 0x0018BD72 [ 2] " \ 0"
SDWORD 2
SDWORD * 0x0018BD54 (296)

DIAG [01004] [Microsoft][ODBC SQL Server Driver]String data, right truncation (0)


Read more...

Environment

  • PowerBuilder
  • ODBC
  • Microsoft SQL Server
  • Windows 7

Product

PowerBuilder all versions

Keywords

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