 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Rik Barker Guest
|
Posted: Fri Jul 01, 2005 3:19 pm Post subject: Find my database |
|
|
Hi,
I'm Writing a small wizard to lead users through connecting my client
to the database.
I've found some code that enumerates all available MS SQL Servers, and
another piece that lists all the databases on a specified server. I
was just wondering if there's a way to go a stage further and ensure
the database is actually the one I want them connecting to.
Is there a way with MS SQL to request a list the tables in the database?
(Expect me back here in a month asking if there's a way to
programatically deploy an SQL database *8)
Cheers,
Rik
|
|
| Back to top |
|
 |
Alfred ten Hoeve Guest
|
Posted: Fri Jul 01, 2005 6:57 pm Post subject: Re: Find my database |
|
|
ADOConnection.TableNames
Alfred.
|
|
| Back to top |
|
 |
Rik Barker Guest
|
Posted: Mon Jul 04, 2005 8:21 am Post subject: Re: Find my database |
|
|
Hi Alfred,
| Quote: | ADOConnection.TableNames
|
I can't believe I missed that. Thanks very much.
Cheers,
Rik
|
|
| 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
|
|