Solved

Access SQL Get column data types

Posted on 2013-01-16
4
479 Views
Last Modified: 2013-01-16
Hi

What SQL query would I use to get the column names and data types of all the tables
in an Access database?

Thanks
0
Comment
Question by:murbro
  • 2
  • 2
4 Comments
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 38783880
I have an add-in that does this, for both tables and queries.  It is the Extras Plus add-in, a free download from my Website at this link:

http://www.helenfeddema.com/Files/code20.zip

Here is a screen shot of the Table Fields report:

Table Fields report
0
 
LVL 31

Accepted Solution

by:
Helen_Feddema earned 500 total points
ID: 38783883
The add-in works with all Access versions from 2003 through 2010 (not yet tested in 2013).
0
 

Author Comment

by:murbro
ID: 38783927
Thanks but I really just want the SQL statement
0
 

Author Closing Comment

by:murbro
ID: 38784094
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question