Re: convert hex string to hex

From: Tamas Bojcan - bojci (bojcan_at_freemail.hu)
Date: 08/19/04


Date: Thu, 19 Aug 2004 10:50:17 +0200

Hi,

What does it mean "hex number"? Do you mean binary type?

Convert hex string to int:
http://www.sqlservercentral.com/scripts/contributions/94.asp and from int
type you can convert easily into other types.

"Joseph" <joseph@bluefield.com.hk> wrote in message
news:enYZcQchEHA.3536@TK2MSFTNGP12.phx.gbl...
> In SQL, how can I convert a hex string like '0xff' to a hex number 0xff?
>
> thanks,
> Joseph
>
>



Relevant Pages

  • Re: Is there a simpler way?
    ... Binary value or binary string? ... If you need to convert a hex string to a binary strings, ... static int setdigit; ... int SevStrHexToBin(const char *hexval, int groupchar, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: CString hex value to CString decimal value
    ... P.S. you might what to change the return type to a long instead of an int. ... > and then put back as a string into an other CString. ... > that converting a large hex string to int does not work. ...
    (microsoft.public.vc.mfc)
  • Re: 0x00FF Arrg...
    ... I think you want a hex string. ... the & automatically promotes to int so does nothing. ... http://mindprod.com Java custom programming, consulting and coaching. ...
    (comp.lang.java.programmer)
  • Re: Interesting Integer.parseInt() problem
    ... >>From some experimenting it appears parseIntis not an inverse of ... In other words the hex string to parseInt ... int back = Integer.parseInt; ...
    (comp.lang.java.programmer)
  • Re: ? Identifying Current Language Code
    ... Here is a link about convern hex string into int, ... Convert Hex String to an Integer Value. ... - by Borland Developer Support Staff ...
    (microsoft.public.vc.mfc)