Mysql查询数据库中的表名/模糊查询

时间:2021-04-21 12:08:25   收藏:0   阅读:0

查询你想要的表名:
select  table_name,tablespace_name,status,temporary from user_tables where table_name like ‘%tab_name%‘;
tab_name 为要查表名的其中一部分。
如:你要查表名中有order的表名
select table_name,tablespace_name  from user_tables where table_name like ‘%order%‘;

 


原文链接:https://blog.csdn.net/qq_41797451/article/details/84301760

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!