How can I get table names from an MS Access Database? -
microsoft sql server , mysql have information_schema table can query. not exist in ms access database.
is there equivalent can use?
to build on ilya's answer try following query:
select msysobjects.name table_name msysobjects (((left([name],1))<>"~") , ((left([name],4))<>"msys") , ((msysobjects.type) in (1,4,6))) order msysobjects.name
(this 1 works without modification mdb)
accdb users may need this
select msysobjects.name table_name msysobjects (((left([name],1))<>"~") , ((left([name],4))<>"msys") , ((msysobjects.type) in (1,4,6)) , ((msysobjects.flags)=0)) order msysobjects.name
as there table included appears system table of sort.
Comments
Post a Comment