读书人

mysql 查寻数据库中有多少张表

发布时间: 2013-02-24 17:58:56 作者: rapoo

mysql 查找数据库中有多少张表
SELECT count(*) TABLES, table_schema FROM information_schema.TABLES where table_schema = 'test' GROUP BY table_schema;
将test更改成你要查找的数据库就可以了。

读书人网 >其他数据库

热点推荐