MySQL Show Datadictionary of tables

前端 未结 6 1181
悲&欢浪女
悲&欢浪女 2021-01-13 09:40

I\'d like to show DataDictionary for entire tables in database.

SHOW COLUMNS
FROM `MyDataBase`.`MyTables` 
WHERE IN ( SELECT TABLE_NAME 
           FROM info         


        
6条回答
  •  有刺的猬
    2021-01-13 10:32

    describe table_name;
    

    Retrieving information from INFORMATION_SCHEMA, but need DBA privilege.

提交回复
热议问题