devxlogo

List Tables and Schemas in Access via SQL Query

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.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist