Hallo,

I have a problem with CHAR(8)BYTE key columns and conversion from hex to
byte.
I use PHP 4 as interface and I want to prepare a statment with a placeholder
for the key column.
Because php can't handle the datatype byte I use the hex() function to
select a key from the db.
To convert the HEX key back to byte I only know the x'...'-function that
works only with constants. So I can't use it with prepared statements
(x'?'). With ADABAS I wrote my own function to do the conversion but SAP DB
doesn't support function.
Has anyone an idea to solve this problem?

Regards,
Kolja

Mit besten Gruessen
Kolja Kleist (Senior Developer)
____________________________________
MediaTransfer AG
Netresearch & Consulting
Rothenbaumchaussee 38, 20148 Hamburg
Tel: (040) 669 625 16
Fax: (040) 669 625 29
URL: http://b2b.mediatransfer.de
____________________________________

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to