How do I update the members of a MySQL SET Type?

Posted by MachinationX on Stack Overflow See other posts from Stack Overflow or by MachinationX
Published on 2010-03-17T19:22:39Z Indexed on 2010/03/17 19:51 UTC
Read the original article Hit count: 164

Filed under:
|
|

I have a table of values, with one of the columns being of type SET.

If it currently has the members ('a', 'b', 'c', 'd'), how do I add 'e' to the possible values?

I realize that using a SET type is a little strange, and I'm unclear why one would use it instead of a foreign key to another table with the values of the set, but I didn't design the database in question, and can't change it that much.

Thanks for your help!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about database-design