I have a table with a
SET column type that need to be changed to
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.
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
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):