Is it possible to convert varchar to hex and vice-versa using Sybase ASE?
https://groups.google.com/forum/m/#!topic/sybase.public.ase.general/S8b1AVDQWlQ