MySQL数据库根据字段类型查询字段信息

select * from information_schema.`COLUMNS` where TABLE_SCHEMA='数据库名' and (COLUMN_TYPE='字段类型');

猜你喜欢

转载自blog.csdn.net/dd2016124/article/details/131232528
今日推荐