Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sql_value_as_hex [2018/01/25 14:09]
sql_value_as_hex [2021/04/05 11:23] (current)
Line 1: Line 1:
 +====== SQL Value as Hex ======
 +
 +To get a hex representation of a value the SQL function [[https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/db2/rbafzscahex.htm | hex]] can be used:
 +
 +<sxh sql>
 +select hex('MIHAEL') from sysibm.sysdummy1
 +</sxh>
 +
 +{{tag>devel sql ibm}}