SAP Knowledge Base Article - Preview

2133572 - Bit data type in PB and MS SQL - SAP PB

Symptom

Bit data type in SAP PowerBuilder and Microsoft SQL SERVER 2008 using the SNC driver.
When migrating BIT fields from PowerBuilder 6.5 (SQL 2005) to 12.5 (SQL 2008),  
the result is -1 instead of 1 or 0.  When using convert(tinyint, <column_name>), then it works.
Is that a normal behaviour?


Read more...

Environment

  • SAP PowerBuilder
  • Microsoft SQL Server 2008

Product

SAP PowerBuilder 12.5 ; SAP PowerBuilder 12.6

Keywords

bit, snc, sql server, sqlserver, mssqlserver, pb, -1 , 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 ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.