Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to convert GUID between raw16 and char32

$
0
0


Hi,

is it possible in HANA XS or in javascript to convert a GUID between raw16 and char32 format? In my case we have different tables that store the same guid with different formats. In other cases I need to call a Webservice via key 32 guid but only have the raw 16 guid read from the DB.

So how could I convert this raw16 guid into char32 without using ABAP in a two tier architecture, i.e. via XS or JS?

 

The SAP HANA Developer Guide shows the raw and the rawtohex or hextoraw functions (page 215), but I receive error message when using them. Do they really exist? And how do they work?

 

 

Thanks and regards,

Ulf


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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