Article View: borland.public.cppbuilder.database.ado
Article #2153Re: List all database of a ms sql server
From: Viatcheslav V. Vassiliev
Date: Mon, 27 Oct 2003 16:51
Date: Mon, 27 Oct 2003 16:51
23 lines
1559 bytes
1559 bytes
TADOConnection->OpenSchema(siCatalogs, EmptyParam, EmptyParam, MyDataSet); Examine contents of MyDataSet (CATALOG_NAME field). //---------------------- Regards, Viatcheslav V. Vassiliev http://www.oledbdirect.com The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Mike" <mikeh@gmx.de> �������/�������� � �������� ���������: news:3f9d43a0@newsgroups.borland.com... > hi, > > i am working with ado and wondering myself who get a list of all databases > of my ms sql server. does anybody can give me some code, that would help me? > > mike > >
Technical Details
Message-ID:
<3f9d4d78@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3f9d43a0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,21d277be5b318302 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-10-27 08:58:50 PST From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3f9d43a0@newsgroups.borland.com> Subject: Re: List all database of a ms sql server Date: Mon, 27 Oct 2003 19:51:09 +0300 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 213.234.218.42 Message-ID: <3f9d4d78@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067273592 213.234.218.42 (27 Oct 2003 08:53:12 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail