[freetds] New Sybase datatype?
fiducianettestz at yahoo.com
Thu Mar 15 09:26:49 EDT 2007
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
Thanks again. Sorry I didn't catch it earlier.
--- "ZIGLIO, Frediano, VF-IT"
<Frediano.Ziglio at vodafone.com> wrote:
> > crawford charles wrote:
> > >
> > > I believe I have encountered a new (to me
> > > datatype. The value is 0x7B, and it looks like
> > > could be similar to a INTN (0x26) or FLTN (0x6d)
> > > from its form.
> > >
> > > I searched the 3.6 and 3.8 Sybase TD Functional
> > > 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
> > 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
> > 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)
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
More information about the FreeTDS