Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL Server
Expertise: Beginner
Oct 29, 1999

List Tables and Schemas in Access via SQL Query

Question:
How do you list available tables and their schemas from an SQL query?

Answer:
There is an owner in the database called INFORMATION_SCHEMA who has a bunch of objects that will be of interest to you. There are INFORMATION_SCHEMA tables, columns, procs, and just a ton of stuff.

If you are needing to get access to metadata from your Visual Basic application, however (the sense of your question isn't clear to me), then you will have to create a reference to the SQL Server's DMO and manipulate the metadata from there.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date