|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Getting databases available on Server
I have the SERVER name as a variable and I need to get the databases list on that server into a drop down.
How can it be done??? |
|
#2
|
||||
|
||||
|
Code:
Exec sp_Databases will return you a list of all databases on a server. |
|
#3
|
|||
|
|||
|
and in vb code???
how do I get it from Visual Basic .Net code?
|
|
#4
|
||||
|
||||
|
What??
You'll execute this statement or command against the server and fill a dataset or datatable with the returned results. |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Getting databases available on Server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|