BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Find my database

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Rik Barker
Guest





PostPosted: Fri Jul 01, 2005 3:19 pm    Post subject: Find my database Reply with quote



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





PostPosted: Fri Jul 01, 2005 6:57 pm    Post subject: Re: Find my database Reply with quote



ADOConnection.TableNames

Alfred.


Back to top
Rik Barker
Guest





PostPosted: Mon Jul 04, 2005 8:21 am    Post subject: Re: Find my database Reply with quote



Hi Alfred,

Quote:
ADOConnection.TableNames

I can't believe I missed that. Thanks very much.

Cheers,
Rik

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.