Article View: borland.public.cppbuilder.database.ado
Article #182Re: Determine DBMS using ADO
From: Koen
Date: Wed, 23 May 2007 07:59
Date: Wed, 23 May 2007 07:59
13 lines
1090 bytes
1090 bytes
If the connection uses odbc, it is impossible to know the dbms via the
connectionstring. However, I've found a solution by querying the Properties
of the connection.
_di_Property_ property;
ADOConnection1->Properties->Get_Item(WideString ("DBMS Version"),
property);
ADOConnection1->Properties->Get_Item(WideString ("DBMS Name"), property);
regards,
Koen
Technical Details
Message-ID:
<Xns993965A9F689Ckoenhacom@207.105.83.66>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<Xns993959C7BFB63koenhacom@207.105.83.66> <4653e877$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,41bd6c37b98408b8 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Determine DBMS using ADO From: Koen <koen@ha.com> References: <Xns993959C7BFB63koenhacom@207.105.83.66> <4653e877$1@newsgroups.borland.com> Message-ID: <Xns993965A9F689Ckoenhacom@207.105.83.66> User-Agent: Xnews/5.04.25 NNTP-Posting-Host: 81.246.59.163 Date: 23 May 2007 00:59:35 -0700 X-Trace: newsgroups.borland.com 1179907175 81.246.59.163 (23 May 2007 00:59:35 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail