🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: oracle date null values

#4239
From: Arnie Mauer
Date: Fri, 01 Mar 2002 14:34
41 lines
2077 bytes
You're using the BDE, regardless of ODBC or SQL Links.  BDE Version 5.1.1.1
doesn't work well with Oracle.  Seems like the NULL indicator isn't properly
set.  The column value itself contains garbage characters, therefore the
invalid conversion.  Same is true for NULL VARCHARS, etc.

First, we backed up to a previous version of the BDE SQLORA8.DLL file -
forgot if it was 5.0.1 or 5.1.0, sorry.

Second we got rid of the BDE and converted to ADO - which is what this group
is all about.

Regards,
- Arnie

"Joachim Pfeifer" <jp@alpin.it> wrote in message news:3c7f3666$1_1@dnews...
> i use builder 4.0 professional, oracle 8.1.6 and oracle odbc driver
> or builder 5.0 enterpris, oracle 8.1.6 and sql-links
>
> when i use a simple query to retrieve data from a table, that has a date
> column and cotains
> null values i get the following error:
>
> in case of sql-links usage: invalid time - translate error - value out of
> bounds
> in case of bde usage: invalid datetime format.
>
>
> has anyone an idea?
>
> thanks,
>
> jo.
>
> Joachim Pfeifer
> Alpin srl.
> jp@alpin.it
> +39 0471 568155
>
>
>
>
Technical Details
Message-ID: <3c7f9187$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3c7f3666$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,78b971e1b36adf0e
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-03-01 06:42:08 PST
From: "Arnie Mauer" <amauer@vrms.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3c7f3666$1_1@dnews>
Subject: Re: oracle date null values
Date: Fri, 1 Mar 2002 09:34:47 -0500
Lines: 43
Organization: VRMS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 209.140.211.97
Message-ID: <3c7f9187$1_1@dnews>
X-Trace: dnews 1014993287 209.140.211.97 (1 Mar 2002 06:34:47 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews