🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: retrieving schema information with ADO

#106
From: Vassiliev V. V.
Date: Tue, 28 Aug 2007 08:10
23 lines
1785 bytes
Look at TADOConnection::OpenSchema(). You need schema siColumns.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Mike K" <nospam@nospam.net> ???????/???????? ? ???????? ?????????: 
news:46d3828b$1@newsgroups.borland.com...
> I'm building a database converter that needs to know the field data types 
> for every table.
>
> How is this done? I can use GetTableNames() and GetFieldNames() but I 
> still need the data types for each field.
>
> (Using BCB 5)
>
> thanks for any help...
> 
Technical Details
Message-ID: <46d3d886@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newsfeed.gamma.ru!Gamma.RU!feeder.news-service.com!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46d3828b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,c1d0acbe2fb5d61
X-Google-Attributes: gid10698b,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vassiliev V. V." <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <46d3828b$1@newsgroups.borland.com>
Subject: Re: retrieving schema information with ADO
Date: Tue, 28 Aug 2007 12:10:14 +0400
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-Antivirus: avast! (VPS 000769-0, 27.08.2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 85.93.138.132
Message-ID: <46d3d886@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1188288646 85.93.138.132 (28 Aug 2007 01:10:46 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newsfeed.gamma.ru!Gamma.RU!feeder.news-service.com!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail