I want to select column names of Table1 as rows of column1 of Table2 and data types of Table1 columns as rows of column2 of Table2.
So if Table1 is like this.
Name Age Graduation Date
John 21 11.11.2015
Hillary 23 7.09.2015
I want to get this table by query.
Name String
Age Long
Graduation Date Date
What should be my SQL query?
(I'm gonna use this in an Windows form application which uses OLEDB connection to get data from an mdb file.)