Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 如何从访问中获取表名? 我们可以使用 sql 列出 msaccess 数据库中的所有表吗?
我可以创建一个查询来返回 Microsoft Access 数据库中所有表的名称吗?我在网站上有一些下拉列表,其中一个下拉列表需要查询我的数据库并返回表名列表,以便进一步的下拉列表知道要查询哪个表以获取各自的信息。
实际上是我自己想出来的
SELECT Name FROM MSysObjects WHERE (Name NOT LIKE "MSys*") AND (Type=1 OR Type=6);
这个对我有用