can ASP get a list of databases and tables of SQL Server at run time?

J

John Davis

When we want to get data access, we need to specify the datasource name and
table name in ASP page. I want to know if we can get the list of databases
and tables of SQL Server at run time? i.e. The user can choose the database
or table to open, and get the records of the table?

Please advice. Thanks!
John
 
K

Ken Schaefer

Yes, you can! :)

There are three ways that I can think of:
a) query the system tables
b) use ADOX
c) use the ADO Schema

Cheers
Ken


: When we want to get data access, we need to specify the datasource name
and
: table name in ASP page. I want to know if we can get the list of databases
: and tables of SQL Server at run time? i.e. The user can choose the
database
: or table to open, and get the records of the table?
:
: Please advice. Thanks!
: John
:
:
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top