Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can we list all tables in msaccess database using sql?

Can we find all tables in the msaccess using sql .

as we do in sqlserver

select * from sys.tables  

in sqlite

SELECT * FROM sqlite_master where type='table' 
like image 369
Thunder Avatar asked Apr 13 '10 11:04

Thunder


People also ask

How do I list all tables in Access database?

Click on the View tab and check System objects. If you are using Microsoft Access 2007, 2010, 2013, or 2016, right-click on the navigation pane (just above the search box) and choose Navigation Options. Then, under display options, check Show System Objects and press OK.

Which query show all tables in database?

Query: SELECT table_name FROM user_tables; This query returns the following list of tables that contain all the tables owned by the user in the entire database.


1 Answers

Use MSysObjects

SELECT * FROM MSysObjects WHERE Type=1 AND Flags=0
like image 176
Alex K. Avatar answered Sep 28 '22 00:09

Alex K.