Quantcast
Channel: SCN : All Content - SAP MaxDB
Viewing all articles
Browse latest Browse all 322

Boolean with PHP and unixODBC

$
0
0

Hello,

we have a problem accessing boolean values in our maxdb under 64 bit versions of linux or windows. Using the 32 bit odbc driver we get a 0 or 1 for true/false, but if we are trying to pull the values with x64 odbc drivers, then we get something like 'T___' for true or 'F____' for false where the underline _ stands for some random characters. We also can't insert values such true/false or 0/1 into that column because of  conversion errors coming from the odbc driver. Is there a special way for handling booleans with php?

Best regards

Tiberius


Viewing all articles
Browse latest Browse all 322

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>