freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: datetime problems
- Date: Tue, 27 Mar 2001 23:16:49 -0500 (EST)
Not so, Microsoft broke big endian clients with respect to datetime and
money fields. So, I'm wondering if they fixed it in a later service pack.
Brian
On Tue, 27 Mar 2001, Mark J. Lilback wrote:
> The server is on an x86 box running NT, SQL Server 7.00.623. My
> client is big-endian, but endian-ness should only effect bytes in a
> word, right?
>
>
> >Are you running on a big-endian platform? If so, what service pack are
> >you running on the SQL Server?
> >
> >Brian
> >
> >
> >On Tue, 27 Mar 2001, Mark J. Lilback wrote:
> >
> >> Has anyone else run into problems with using SYBDATETIME values?
> >>
> >> I'm talking to SQL Server 7 using TDS 4.2 and everytime I use dbdata
> >> to get a value as TDS_DATETIME, the structure seems to be reversed
> >> (i.e. the first 32 bytes are the time and the last 32 bytes are the
> >> days). SYBDATETIME4 works fine, but not SYBDATETIME.
> >>
> >> I was going to add code to swap these two, but I wanted to confirm
> >> that this is a problem and I'm just not seeing something correctly.
>
>
-
datetime problems,
Mark J. Lilback, 03/27/2001
- <Possible follow-up(s)>
- Re: datetime problems, Brian Bruns, 03/27/2001
- Re: datetime problems, Mark J. Lilback, 03/27/2001
- Re: datetime problems, Brian Bruns, 03/27/2001
- Re: datetime problems, Mark J. Lilback, 03/28/2001
- Re: datetime problems, Brian Bruns, 03/29/2001
- Re: datetime problems, Mark J. Lilback, 03/29/2001
- Re: datetime problems, Brian Bruns, 03/29/2001
Archive powered by MHonArc 2.6.24.