Skip to Content.
Sympa Menu

freetds - Re: [freetds] New Sybase datatype?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] New Sybase datatype?
  • Date: Thu, 15 Mar 2007 09:02:16 +0100

>
> crawford charles wrote:
> >
> > I believe I have encountered a new (to me anyway)
> > datatype. The value is 0x7B, and it looks like it
> > could be similar to a INTN (0x26) or FLTN (0x6d)
> > from its form.
> >
> > I searched the 3.6 and 3.8 Sybase TD Functional spec,
> > and the FreeTDS 0.64 code base and documentation. I'd
> > appreciate any help.
>
> I would be happy to help but am very time-constrained of late.
>
> The easiest thing for me would be if you could modify
> src/dblib/unittest/rpc.c to provoke the new datatype from the
> server. The
> library should complain and leave enough information in the
> TDSDUMP log to
> get started. Then I'll see if the sybase server I have
> access to behaves
> the same way. If so, I would think the work to add the new
> type would be
> quick.
>
> And then, you know, we'd have to update the docs. ;-)
>
> Regards,
>

0x7b == TDS_DATEN
DATE is a new ASE type. Mainly is the date part of a DATETIME. I don't
rememember if TIME info is missing or 0. The strange thing is that
server declare a length of 8 but send 4. You can see two date, one
length 4 and one NULL (len == 0)

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page