SQL -- how to view the underlying db structure.

Jay Petrulis

MrExcel MVP
Joined
Mar 17, 2002
Messages
2,040
Hi Folks,

I may not be asking the right type of question regarding this, but I am trying to get up to speed. Suppose that I have to query a RDBMS. The front-end can be Access, Excel, etc. and I would be using SQL to retrieve the data.

If I did not build it, how would I be able see the tables, keys, etc.? Is there a way to see the underlying db setup/structure? In Access, I can see the tables and the joins, but if I am querying a mainframe db, or something with many tables and calculated queries, can I do the same?

Any help and/or references?

Thanks,
Jay
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Browse Database Schema & other info

The best tool I have found for this is called Advanced Query Tool. It allows you to see the entire schema and provides many other useful bits of information. It is primarily a tool to build SQL statements. It uses ODBC and can be used with any ODBC-compliant database.

You should be able to find it via google.

I use it to create SQL to paste into MS-Query.

HTH

Marty
 
Upvote 0

Forum statistics

Threads
1,224,845
Messages
6,181,300
Members
453,031
Latest member
Chris_1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top