MySQL Forums
Forum List  »  General

Re: ENUM and SET column types member changes
Posted by: Peter Brawley
Date: June 20, 2019 10:26AM

drop table if exists t;
create table t(e enum('a','c','e','g') );
insert into t values( 3 ), ( 4 );
alter table t modify column e enum('a','b','c','d','e','f','g');
insert into t values( 3 ), ( 4 );
select e from t;
+------+
| e    |
+------+
| e    |
| g    |
| c    |
| d    |
+------+

Options: ReplyQuote


Subject
Written By
Posted
Re: ENUM and SET column types member changes
June 20, 2019 10:26AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.