查询mysql某张表中的所有数据(字段)类型

select DATA_TYPE from information_schema.COLUMNS where TABLE_NAME='表名'; select DATA_TYPE from information_schema.COLUMNS where TABLE_SCHEMA='数据库名' and TABLE_NAME='表明' and column_name = '字段名'; select C
相关文章
相关标签/搜索