MySql 查询数据库中所有表名

时间:2021-09-06 22:44:51   收藏:0   阅读:33
//查询数据库中所有表名、创建时间、数据库引擎、字符集、表描述,创建时间降序排序
select table_name ,create_time , engine, table_collation, table_comment from information_schema.tables where table_schema = (select database()) order by create_time desc

 

原文:https://www.cnblogs.com/LilLazy/p/15232299.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!