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

show tables not like xxx

创建时间:2015-09-16 投稿人: 浏览次数:1819

有时候,比如备份数据库,需要排除一些表

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

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