Solved

Access SQL Get column data types

Posted on 2013-01-16
4
468 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now