I have a table with a SET
column type that need to be changed to ENUM
type.
Can I do it with a simple ALTER
or will this mess up my data?
NB: there are no multiple values (a,b,c) in the table.
Mysql – How to change a column type from SET to an ENUM
alter-tableenumMySQL
Best Answer
Technicaly YES, I just did the test :
You've mentioned it but it will mess if you have multiple values (replace by an empty set in ENUM):
Max.