show tables not like xxx
有时候,比如备份数据库,需要排除一些表
SHOW TABLES WHERE Name NOT LIKE "tree%";
http://stackoverflow.com/questions/3698891/mysql-what-is-the-right-syntax-for-not-like
http://stackoverflow.com/questions/4432062/matching-tables-name-with-show-tables
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。
- 上一篇: MySQL Show命令的用法大全
- 下一篇: linux 查看硬盘使用率