jaydebeapi icon indicating copy to clipboard operation
jaydebeapi copied to clipboard

How to list tables in access database?

Open mwiertz opened this issue 4 years ago • 3 comments

Hi,

I'm trying to retrieve a list of tables from an MS Access mdb database file from Python using JayDeBeApi combined with UCanAccess. Querying the database works fine, though I cannot find out how top list all tables. I've been googling and trying for days now, but was not able to find a solution.

Anyone can help?

Thanks, best, Max

mwiertz avatar Mar 17 '22 12:03 mwiertz

Did you ever figure this out? stuck on the same thing.

deweydb avatar Nov 01 '23 19:11 deweydb

Unfortunately, no. Ended up working around it by converting the databases to sqlite... Bit drastic to do over and over again, but couldn't find another solution.

mwiertz avatar Nov 01 '23 19:11 mwiertz

I figured it out: select * from information_schema.tables It seems ucanaccess actually "copies" the original .mdb to an hsqldb one at connection time.

deweydb avatar Nov 02 '23 15:11 deweydb