🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5812

Re: datetime field precision not available

#5812
From: Alexei Karas
Date: Mon, 22 Jan 2001 08:25
26 lines
1869 bytes
One of the possible solutions was found at
http://support.microsoft.com/support/kb/articles/Q193/8/69.asp
If somebody have another better ideas he's still welcome;)))

Alexei

"Alexei Karas" <nospam_AlexKaras_thatsextraaswell@hotmail.com> wrote in
message news:3a6702e7_2@dnews...
> While working with Informix database through OLE DB Provider for ODBC, I
> can't get figures for tenth part of second for the field declared as
> "TimeStamp datetime year to fraction(4)" i.e. I have four digits after
> decimal point for seconds. When I execute
> ?rsExpData.Fields("timestamp").Value
> I get
> 07/01/2001 23:38:10
> value. But field in DB actually contains "07/01/2001 23:38:09.5678" value.
> When I query the same field through the same DSN with MS Query, for
example,
> I get correct  "07/01/2001 23:38:09.5678" value. May someone say what's
> wrong, or that's OLE DB Provider's bug?
>
> Sincerely,
>       Alexei
>
>
>
Technical Details
Message-ID: <3a6bef13_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!194.93.181.26
References: <3a6702e7_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,7a849b25f55d3ee2
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-01-22 00:31:50 PST
From: "Alexei Karas" <nospam_AlexKaras_thatsextraaswell@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3a6702e7_2@dnews>
Subject: Re: datetime field precision not available
Date: Mon, 22 Jan 2001 10:25:39 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 194.93.181.26
Message-ID: <3a6bef13_1@dnews>
X-Trace: 22 Jan 2001 00:28:03 -0800, 194.93.181.26
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!194.93.181.26