Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting the table structure in ms access with SQL query?

How to get the table structure in MS Access with a SQL query?

Using the following query:

SELECT name FROM MSysObjects

Results in the following exception:

Exception: [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission on 'MSysObjects'.

like image 820
ess Avatar asked Nov 17 '25 22:11

ess


2 Answers

Set up an ODBC connection for your postrgres database and then call the transfer database command for each of your tables.

like image 199
Cari Sayler Avatar answered Nov 19 '25 14:11

Cari Sayler


To resolve the permissions issue for MSysObjects, see these similar questions: no read permission on 'MSysObjects', or Run C# queries against (hidden) system tables in Access?

like image 37
FreeText Avatar answered Nov 19 '25 14:11

FreeText