Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
SQL Server
Doubt about SQL Server
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
aguzmanc@gmail.com
#1
Doubt about SQL Server
Feb 2 '07, 05:15 PM
I need an application to obtain the databases names from my SQL
Server, using Visual Basic 6.0.
Can somebody hel me?
Erland Sommarskog
#2
Feb 2 '07, 11:15 PM
Re: Doubt about SQL Server
(aguzmanc@gmail .com) writes:
I need an application to obtain the databases names from my SQL
Server, using Visual Basic 6.0.
Can somebody hel me?
SELECT name FROM master..sysdata bases -- SQL 2000 or earlier
SELECT name FROM sys.databases -- SQL 2005.
Or what is you want help with?
--
Erland Sommarskog, SQL Server MVP,
esquel@sommarsk og.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment