Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically determine Server and database
Message
 
 
To
06/09/2006 13:48:41
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01151434
Message ID:
01151437
Views:
38
>Hi,
>
>is there a way for me to get a list of available SQL Servers and their corresponding databases so that when my user first runs my application I can prompt them to select the server and database?

Check Re: List of SQL Servers Thread #779753 for different ways to enumerate SQL Servers.
- DB list
SELECT CATALOG_NAME AS DBname FROM INFORMATION_SCHEMA.SCHEMATA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform