数据库
首页 > 数据库> > mysql 读取表字段注释

mysql 读取表字段注释

作者:互联网

                                select TABLE_NAME TableName
                                    ,COLUMN_NAME FieldName
                                    ,DATA_TYPE FieldTypeName
                                    ,0 FieldMaxLength
                                    ,COLUMN_COMMENT FieldDesc
                                from information_schema.COLUMNS 
                                where table_name = 'person'

 

标签:读取,COLUMN,表字,mysql,table,DATA,select,NAME
来源: https://www.cnblogs.com/tomorrow0/p/16286478.html