I have linked a couple of tables in MS Access database from SQL Server and also from Excel. Now I want to query them from a Java application using jdbc. But when I run the query SELECT * FROM sys.MSysObjects Where Type = 4; I am able to see the list of those tables, but I also want to list the columns for those tables. I have queried Information_schema.Columns, UCA_METADATA.Columns, Information_schema.System_Columns etc.. and lot more system tables of MS Access but did not succeed.
Any help to achieve the above is highly appreciated.
Thanks
If you use sys_extended_properties, a note: it only contains fields with a description filled in SQL.
If you don't want to do this work you might have to use Left Join.
For the folowing MS-Access Query example below we must link these system SQL tables: sys_tables, sys_extended_properties, sys_columns, sys_types, INFORMATION_SCHEMA_COLUMNS.