牛骨文教育服务平台(让学习变的简单)
博文笔记

show tables,数据表显示部分

创建时间:2012-02-09 投稿人: 浏览次数:3774

当用 show tables时,由于数据表过多,导致数据表名称无法显示全部

数据库:test

记录部分显示:

select table_name from information_schema.tables where table_schema="test"  order by table_name limit 0,30 ;  

由于我每次只需要查询某一类数据表:

select table_name from information_schema.tables where table_schema="test" and table_name like "xadmin_comment_audit_%" order by table_name ;  



声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。