SAP Knowledge Base Article - Preview

2112281 - Calling a Stored Procedure in PowerBuilder 12.5.2 results in 'Invalid character value for cast specification' error

Symptom

Recently migrated application from PowerBuilder 11.1 (build 8123) to PowerBuilder 12.5.2 (build 5006) on Windows 7.  The application is using Microsoft SQL Server and when calling a stored procedure using ODBC results in the error of "Invalid character value for cast specification".  

The following dbparms are being used in the database connection: 

  • StripParmNames='Yes'
  • CallEscape='No'.  


Read more...

Environment

  • SAP PowerBuilder 12.5.2
  • Windows 7
  • Microsoft SQL Server

Product

SAP PowerBuilder 12.5 ; SAP PowerBuilder 12.6

Keywords

odbc, stored procedure, pbnewspinvocation, dbparm,sp , 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.