🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: List all database of a ms sql server

#2155
From: Mike
Date: Mon, 27 Oct 2003 18:15
36 lines
2095 bytes
HI,

thanks for your answer. i have search, but can't find any example for bcb.
could you give me any example how to determine all databases of a server and
write into a listbox?

mike

"Viatcheslav V. Vassiliev" <support@oledbdirect.com> schrieb im Newsbeitrag
news:3f9d4d78@newsgroups.borland.com...
> 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: <3f9d60c6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!cyclone1.gnilink.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f9d43a0@newsgroups.borland.com> <3f9d4d78@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 10:35:36 PST
From: "Mike" <mikeh@gmx.de>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3f9d43a0@newsgroups.borland.com> <3f9d4d78@newsgroups.borland.com>
Subject: Re: List all database of a ms sql server
Date: Mon, 27 Oct 2003 19:15:25 +0100
Lines: 38
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: 217.225.128.238
Message-ID: <3f9d60c6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067278534 217.225.128.238 (27 Oct 2003 10:15:34 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!cyclone1.gnilink.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail