mysql查看表名及注釋的方法:執(zhí)行【select table_name from information_schema.tables where table_schema=’數(shù)據(jù)庫名稱’;】語句即可查看。
查詢所有表名
(推薦教程:mysql視頻教程)
select?table_name?from?information_schema.tables?where?table_schema='數(shù)據(jù)庫名稱';
查詢數(shù)據(jù)庫表名的注釋:
select?table_name?表名,TABLE_COMMENT?表注釋?from?INFORMATION_SCHEMA.TABLES?Where?table_schema?=?'數(shù)據(jù)庫名稱'?AND?table_name?="表名"
相關(guān)推薦:mysql視頻教程
? 版權(quán)聲明
文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載。
THE END
喜歡就支持一下吧
相關(guān)推薦