MySQL: how to get the list of tables using ODBC

耗尽温柔 提交于 2019-12-11 06:34:06

问题


I am connecting to a MySQL DB trough a terminal who only have a program with an ODBC connection to a MySQL DB. I can put querys in the program, but not access MySQL directly.

I there a way to query the DB to obtain the list of tables?


回答1:


There is a SQL query:

Show tables;

You should be able to execute that query.



来源:https://stackoverflow.com/questions/308809/mysql-how-to-get-the-list-of-tables-using-odbc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!