🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Incorrect field type being returned

#3435
From: Robert Lancaster
Date: Thu, 22 Aug 2002 08:17
18 lines
1393 bytes
Greetings,

I am writing an app to copy data from one SQL server to another. I do table,
field and type checking. I have hit one major problem:]

when i check the type of a SQL Server money field the field type returned is
ftBCD

This is not right. Why is it not returned as a ftCurrency ?

My second question is:

Is there any way to get the scale and precision of a SQL Server decimal
field ?

Thanks,

Robert Lancaster
Technical Details
Message-ID: <3d649e2e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,8677035a9c3452cb,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-08-22 01:50:59 PST
From: "Robert Lancaster" <robert.lancaster@thales-geosolutions.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Incorrect field type being returned
Date: Thu, 22 Aug 2002 10:17:46 +0200
Lines: 20
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: 196.15.157.2
Message-ID: <3d649e2e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1030004270 196.15.157.2 (22 Aug 2002 01:17:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail