Solved

Poll a SQL Server

Posted on 2000-02-23
2
178 Views
Last Modified: 2011-09-20
Hi,
I haven't hunted around the PAQs, sorry if this question was recently asked, I'm new to the VB topic area.
I'm trying to figure out how to poll the SQL Server for databases.  I
want to display the databases in a dropdown.
TIA, kay
0
Comment
Question by:kcduncan
2 Comments
 

Accepted Solution

by:
mathewss earned 100 total points
ID: 2553397
Create a query that does a "select name from sysobjects where type='U'" this will return a result set of the users tables (not system)

 Other types
 S=System Object
 P=Procedure
 TR=Trigger
 K=Key/Index

 Hope this helps...
0
 

Author Comment

by:kcduncan
ID: 2601949
I asked on behalf of a friend and he said the answer was over his head (I guess maybe more details would have helped??), but he was able to find some answers elsewhere.  Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Input past end of file vbs script 9 81
change vba from autofit to 13.5 width? 4 28
String manipulation in Visual Basic 7 59
VB 6 error 5 in windows 10 but not in XP 7 42
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now