Skip to Content.
Sympa Menu

freetds - Re: Issue with IMAGE type in latest build

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Issue with IMAGE type in latest build
  • Date: Wed, 21 Aug 2002 17:29:23 -0400


> > Il mer, 2002-08-21 alle 22:11, Brian Bruns ha scritto:
> > > Querying sybase (all versions) with isql does have the 0x
> > > prefix, I believe that is why it was there in the first place.
> >
> On 21 Aug 2002, Frediano Ziglio wrote:
> > Ok, but perhaps is isql that add 0x...
> > We must act like other library not like isql.
> > Perhaps confusion came from tsql...
>
> From: Brian Bruns [mailto:camber AT ais.org]
> Sent: August 21, 2002 4:46 PM
>
> I thought that too, I tested both sqsh and isql. I grepped
> sqsh for signs
> of '0x' and didn't find anything related.

Sirs,

Results of a test program that calls dbconvert() to convert varbinary ->
varchar:

--------
select cast( 'asdf' as varbinary )
1 columns returned.
column_name:
column_type: 45
column_size: 30
length: 4
data (first word): 0x66647361
Varchar form is: "61736466", length is 8.
-------

Microsoft's dbconvert() does not prepend "0x".

--jkl


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that for certain accounts we do not accept
orders and/or instructions by e-mail, and for those accounts we will not be
responsible for carrying out such orders and/or instructions. Kindly refrain
from sending orders or instructions by e-mail unless you have confirmed that
we accept such communications for your account. Please also note that to
satisfy regulatory requirements we review the outgoing and incoming e-mail
correspondence of staff members serving certain functions.






Archive powered by MHonArc 2.6.24.

Top of Page