Mysql查询表注释和字段注释信息


 

 

MySQL查询表注释和字段注释信息

-- 查询表注释
select table_schema, table_name, table_comment from information_schema.tables where table_schema = 'xxx' and table_name = 'xxx';


-- 查询表字段注释
select table_schema, table_name, column_name, column_comment from information_schema.columns where table_schema = 'xxx' and table_name = 'xxx';

 

记录备查


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM