ALTER TABLE
`table_name`
MODIFY COLUMN
`column_name2` enum(
'existing_value1',
'existing_value2',
'new_value1',
'new_value2'
)
NOT NULL AFTER `column_name1`;
More Related Contents:
- add column to mysql table if it does not exist
- MySQL: ALTER TABLE if column not exists
- Adding multiple columns AFTER a specific column in MySQL
- How can I modify the size of column in a MySQL table?
- MySQL ENUM type vs join tables
- Error renaming a column in MySQL
- ALTER TABLE to add a composite primary key
- How to add not null constraint to existing column in MySQL
- Alter MySQL table to add comments on columns
- MySQL Enum performance advantage?
- Create an index on a huge MySQL production table without table locking
- MySQL: ALTER IGNORE TABLE ADD UNIQUE, what will be truncated?
- ALTER table – adding AUTOINCREMENT in MySQL
- How to change MySQL column definition?
- Alter table if exists or create if doesn’t
- `MODIFY COLUMN` vs `CHANGE COLUMN`
- Optimizing MySQL for ALTER TABLE of InnoDB
- Default sort-ordering in MySQL (ALTER TABLE … ORDER BY …;)
- Does adding ‘LIMIT 1’ to MySQL queries make them faster when you know there will only be 1 result?
- Is it possible to query a tree structure table in MySQL in a single query, to any depth?
- How to use LOAD_FILE to load a file into a MySQL blob?
- Determine Rank based on Multiple Columns in MySQL
- What is better in MYSQL count(*) or count(1)?
- How do I repair an InnoDB table?
- How to enable INNODB in mysql
- How do I lag columns in MySQL?
- Calculate distance given 2 points, latitude and longitude [duplicate]
- How to write a (MySQL) “LIMIT” in SQL Server?
- SQL: deleting tables with prefix
- How to use a user variables in MySQL LIKE clause?