Re: convert hex string to hex
From: Joseph (joseph_at_bluefield.com.hk)
Date: 08/20/04
- Next message: Andrew John: "inner and outer joins not associative"
- Previous message: Dejan Sarka: "Re: Trigger - for statement"
- In reply to: Tamas Bojcan - bojci: "Re: convert hex string to hex"
- Next in thread: Mingqing Cheng [MSFT]: "Re: convert hex string to hex"
- Reply: Mingqing Cheng [MSFT]: "Re: convert hex string to hex"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 20 Aug 2004 14:57:58 +0800
Thanks. What I want is to check whether a record has been modified by
comparing the timestamp field in the record.
I just convert the binary array to base-64 int in my C# program and pass the
int to the stored procedure. Then cast the int to binary/timestamp type and
compare with the timestamp field in the record.
Joseph
"Tamas Bojcan - bojci" <bojcan@freemail.hu> wrote in message
news:%23R77ElchEHA.2916@TK2MSFTNGP12.phx.gbl...
> 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
> >
> >
>
>
- Next message: Andrew John: "inner and outer joins not associative"
- Previous message: Dejan Sarka: "Re: Trigger - for statement"
- In reply to: Tamas Bojcan - bojci: "Re: convert hex string to hex"
- Next in thread: Mingqing Cheng [MSFT]: "Re: convert hex string to hex"
- Reply: Mingqing Cheng [MSFT]: "Re: convert hex string to hex"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|