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: crawford charles <fiducianettestz AT yahoo.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] New Sybase datatype?
  • Date: Thu, 15 Mar 2007 06:26:49 -0700 (PDT)

fredddy77,

Damn... missed that. Thanks, enormously!
I assume that DATEN is like INTN: the format specifies
a maximum size, but the data can have any "appropriate
size" (for the type) up toi that maximum (0,1,2,4,8
for INT).

Thanks again. Sorry I didn't catch it earlier.

C.
--- "ZIGLIO, Frediano, VF-IT"
<Frediano.Ziglio AT vodafone.com> wrote:

> >
> > 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
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/




Archive powered by MHonArc 2.6.24.

Top of Page