SAP Knowledge Base Article - Preview

2026739 - How to convert the rs_config.objid column values to the integer datatype? - SAP ASE

Symptom

  • How to convert the rs_config.objid column values defined as the binary(8) datatype to the integer datatype? 
  • The hextoint function does not work as expected. For example:

1> select objid from rs_config where optionname = 'dsi_command_convert'
2> go
objid
 ------------------
 0x0000000000000000
 0x000000e200000000

(2 rows affected)
1> select hextoint("0x000000e2")
2> go
 
 -----------
         226

(1 row affected)
1> select hextoint("0x000000e200000000")
2> go
 
 -----------
  -503316480

(1 row affected)


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.0
  • SAP Adaptive Server Enterprise (ASE) 15.5
  • SAP Adaptive Server Enterprise (ASE) 15.7

Product

SAP Adaptive Server Enterprise 15.7 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5

Keywords

hextoint, binary, integer , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

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.