Jump to content

[SOLVED] Getting available values from an ENUM type


Yesideez

Recommended Posts

According to the docs:

 

"If you want to determine all possible values for an ENUM column, use SHOW COLUMNS FROM tbl_name LIKE enum_col and parse the ENUM definition in the Type column of the output."

 

http://dev.mysql.com/doc/refman/5.1/en/enum.html

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.