Mysql查詢數據庫中的表名/模糊查詢


查詢你想要的表名:
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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM