Improve company productivity with a Business Account.Sign Up

x
?
Solved

Access SQL Get column data types

Posted on 2013-01-16
4
Medium Priority
?
525 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:Murray Brown
  • 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 2000 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:Murray Brown
ID: 38783927
Thanks but I really just want the SQL statement
0
 

Author Closing Comment

by:Murray Brown
ID: 38784094
thanks
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
With the functions here, you can parse, convert, and format back and forth between feet and inches and fractions and decimal inches - for normal as well as extreme values and with extreme precision.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

588 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