sql - How to display all the tables with more information (create date, size,...) in a MySQL database? -
searched , searched , gave up. want more info on mysql table or better yet, list of tables in mysql database in descending/ascending order of create date.
something :
show tables mydb order create_date; donnie's answer did trick :
select * information_schema.tables table_schema = 'dbname' order create_time desc;
information_schema.tables queryable, doesn't have creation date. show table status return creation date information. can craft table name out of information_schema, call show table status on each.
Comments
Post a Comment