sql - Oracle: query help for data conversion -
i have 2 tables containing same value. 1 table contains numeric values other contains character wise corresponding values. example if first table contains value '11', second table contains '3131'. if first table contains '123', second value contains '313233'.
i need write sql statement joins these table (in other words need know function either converts '11' '3131' or vice versa.).
i able solve using rawtohex function. applying rawtohex function on first table's column gave expected result.
select rawtohex('11') dual; rawtohex('11') ----------------------------------- 3131
thanks.
Comments
Post a Comment