 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
M.Fatih AKTAÇ Guest
|
Posted: Wed Aug 13, 2003 8:10 am Post subject: how can i get list of databases from sqlserver |
|
|
hi,
I want to add Databases names into listbox
but i don't get list of databases from sqlserver
Thanks,
|
|
| Back to top |
|
 |
Viatcheslav V. Vassiliev Guest
|
Posted: Wed Aug 13, 2003 8:52 am Post subject: Re: how can i get list of databases from sqlserver |
|
|
Connect to master database and execute
TADOConnection.OpenSchema(siCatalogs). Examine CATALOG_NAME column.
----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (through OLEDB) databases.
"M.Fatih AKTAÇ" <mfaktac (AT) hotmail (DOT) com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:3f39f272 (AT) newsgroups (DOT) borland.com...
| Quote: | hi,
I want to add Databases names into listbox
but i don't get list of databases from sqlserver
Thanks,
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|