|
-
Jan 6th, 2001, 04:58 PM
#1
Thread Starter
PowerPoster
I am posting this on both the general and database forums:
I'm writing an app to read field info from a database table (schema data) and dynamically build a form based on the fields in that table. That part I'm okay with.
To dynamically build the connection string, I'd like the user to be able to choose what SQL Server they want, and what database within that server they are interested in. So my questions are:
(1) How can I find the names of the available SQL Servers on a system?
(2) For each of the available servers, how can I get the names of the databases within them (like "pubs", "northwind", etc.)?
TIA for your help.
"It's cold gin time again ..."
Check out my website here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|