🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Number datatype being shown as a ftBCD

#2569
From: Viatcheslav V. Vassiliev
Date: Wed, 28 May 2003 09:33
26 lines
1957 bytes
Data size of TBCDField is always SizeOf(TBcd) = 33.

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (through OLEDB) databases.

"John Z Fields" <jfields@wrsystems.com> �������/�������� � ��������
���������: news:3ed37f8c$1@newsgroups.borland.com...
> Hi all. I have a column defined as Number(10) in an Oracle 9i table. After
> retrieving a dataset from this table, the Oracle ADO provider identifies
the
> column as ftBCD with size 0, which is correct cause it is a whole number,
> but datasize 33, which is incorrect. Please advise if you have encountered
a
> similar situation. I need to know that it is a number 10 column so that I
> can set maxlength on the control to 10.
>
> thanks much.
>
> --
> JOHN FIELDS
>
>
Technical Details
Message-ID: <3ed483ae$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ed37f8c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,7918b403313ee00a
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-05-28 03:09:55 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3ed37f8c$1@newsgroups.borland.com>
Subject: Re: Number datatype being shown as a ftBCD
Date: Wed, 28 May 2003 13:33:57 +0400
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.247.201.57
Message-ID: <3ed483ae$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054114734 213.247.201.57 (28 May 2003 02:38:54 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail