Used by:
- MySQL 5.7
There are several tables in which there is an ENUM type field.
Data for substitution in the field in all tables are the same.
Question.
How to make the data for substitution in fields of type ENUM used from one source?
Those. All tables use the same directory.
EG
Datasheet
CREATE TABLE `tst_001_tb_00` ( `id` INT(11) NOT NULL, `pl_1_txt` TEXT NULL, `pl_2_enum` ENUM('Y','N') NULL DEFAULT NULL, INDEX `id` (`id`) ) COLLATE='utf8_general_ci' ENGINE=InnoDB ROW_FORMAT=DYNAMIC ; Table HANDBOOK
CREATE TABLE `tst_001_tb_01_sprch` ( `pl_2_enum` TEXT NULL ) COLLATE='utf8_general_ci' ENGINE=InnoDB ROW_FORMAT=DYNAMIC ;