使用如下命令:
select table_schema,table_name,column_name,column_type,column_key,is_nullable,column_default,column_comment,character_set_name
from information_schema.columns where table_schema='庫名' and table_name='表明';
快捷方式:
desc 表名; 無注釋顯示
使用如下命令:
select table_schema,table_name,column_name,column_type,column_key,is_nullable,column_default,column_comment,character_set_name
from information_schema.columns where table_schema='庫名' and table_name='表明';
快捷方式:
desc 表名; 無注釋顯示
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。