使用如下命令:
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删除。