码迷,mamicode.com
首页 > 数据库 > 详细

mysql中使用enum,如何获取所有可能的值

时间:2018-06-21 13:43:13      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:ima   column   where   info   IV   and   http   img   from   

SELECT
column_type
FROM
information_schema. COLUMNS
WHERE
TABLE_SCHEMA = "数据库名"
AND DATA_TYPE = ‘enum‘
AND table_name="表明"
AND column_name="列名";

  获取到的结果

技术分享图片

 

mysql中使用enum,如何获取所有可能的值

标签:ima   column   where   info   IV   and   http   img   from   

原文地址:https://www.cnblogs.com/zqr99/p/9208341.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!