HEX to Integer conversion in pro*c or pl*sql

From: Bob Treumann <btreuman_at_empros.com>
Date: Mon, 14 Feb 1994 18:13:12 GMT
Message-ID: <CL87y0.10y0_at_empros.com>


Does anyone have a C routine that will convert data stored as varchar2 into an integer, assuming the data is a valid hex number?

It seems I should be able to do this with HEXTORAW function somehow, but I can't make it work...

I have both 2-character (e.g. 9E) and four character data (7FFA) to convert.

I will gladly post the correct answer ...   Received on Mon Feb 14 1994 - 19:13:12 CET

Original text of this message